[Community Puzzle] A Man with a Plan

whats about WIZARD at 7-0 ?

It takes 33 days to travel from the house to the dragon and to slay him. As @Kaktuts said, don’t forget the wizard.
Concerning your other question: “You can be sure that if you enter in one of those stores, you will spend one day arguing, to finally surrender and buy something.”
Good luck! ^^

2 Likes

@anon72424297 Probably the last question: Good news: all test cases pass. Bad news: when i hit submit the second validator fails, “Hall of the Mountain King”. Any chance you can tell me how the validator differs from the test case? This has been quite the journey. I am a novice programmer and probably shouldn’t have done a difficulty: hard puzzle. (but I did learn a heck of a lot and it was fun)

1 Like

Sure. I’ll send it to you by DM.

1 Like

Hi @anon72424297!
Great puzzle :grin:, I really love the story behind this puzzle. It’s very creative.
I have a small problem, the last test case ‘Carry on’ fails on submit.
Could you maybe send me the validator values?

Thanks! ^^ I send it.

Hello,
I loved this puzzle, very funny and all the work on the story telling is awsome.
I’m exactly in the same case than Monkris.
All the tests are ok in the ide but the 2d validation one is red when submitted.
@anon72424297 Maybe the 2d test case can be updated to be closer to the validation one.

i checked the test 2 and the validator 2.
they are really similar

  • same sizes
  • same map except for the points on interest’s postion
1 Like

So the wizard teleports you to the nearest point of interest but what if two points of interest are equal distance away from the wizard and the nearest to the wizard, then what’s supposed to happen?
In the visible test cases there is no such situation so i wonder if that is even possible.

There aren’t any ties in distances in the validators either.

Hey, that’s a cool puzzle, thanks for creating it! (I realize it was created a year ago already)
A bit frustrated tho, all test cases are green but when I submit, the test for Carry On is red. Difficult to debug as I don’t get any error message :stuck_out_tongue:

Great puzzle \o/
The real story makes it less academic than other puzzles.
I had some difficulties with the wizard, but nothing insurmountable.
The numerous datas to take into consideration makes it really interesting, and proud when you solve it.
I loved this puzzle.

1 Like

@anon72424297
Why is the first test = 9 ? It should be 10 :
(0-4) to (1-3) : 1 (house)
(1-3) to (2-2) : 2 (grassland)
(2-2) to (3-1) : 4 (princess)
(3-1) to (4-0) : 2 (grassland)
(4-0) : 1 (castle)

“There is of course the king’s castle, your final goal, which is pretty well guarded. Pass by there before you finish your quest will make you waste one day convincing the guards you are not a thief.”

:wink:

10 Likes

Ah yes, thank you. I understood this as :
“You have to pass by the castle before the quest is finished”…