Coding Games and Programming Challenges to Code Better
Send your feedback or ask for help here!
Created by @nguyen.lam,validated by @Regulus136,@Timinator and @ANONYMOUS42.
If you have any issues, feel free to ping them.
Coding Games and Programming Challenges to Code Better
Send your feedback or ask for help here!
Created by @nguyen.lam,validated by @Regulus136,@Timinator and @ANONYMOUS42.
If you have any issues, feel free to ping them.
If an Elf is to complete this map:
5
5
#####
>...#
#...#
##..>
#####
would the path be:
#####
>...#
#o..#
##o>>
#####
I see you have solved the puzzle so you probably already know the answer but in the statement it says about the elf:
When both give same result, prioritize straight moves as opposed to diagonal moves.
So the correct path should be:
#####
>>o.#
#…o#
##…>
#####