Deviopath › Karel

Mark the Dead Ends

Hard · Mazes

A dead end is a square with walls on three sides. Explore the whole maze and put a ball on every dead end, including the one Karel starts in. Then stop.

Your code runs in several mazes. Walking with your right paw on the wall takes Karel through every square and back home. When you step into a dead end that already has a ball, you know you are back where you started.

Next: Maze Round Trip