← The arcade

Halloween · difficulty 3 of 3

Escape the haunted house 🏚️

Find the fewest steps from the start S to the exit E, moving up, down, left or right and never through walls (#) or ghosts (G). Then print the route as a path of arrows.

This one is part of Pro. Plenty of arcade challenges are free to play right now.

Skills: loops, dicts, strings

Open the arcade