Paw on the Wall
Hard · Mazes
Karel is lost in a maze. Somewhere inside there is a ball. Find it and pick it up.
Your code runs in several different mazes, so you can not plan the route. There is a simple trick that always works in these mazes: keep your right paw on the wall and never let go. If the right side is open, turn right and step; otherwise go straight if you can; otherwise turn left.
Next: Let Them Fall