This is an old revision of the document!
Here are four of the different position changes that the robot must be able to make. This instruction is the cornerstone for the program that directs a robot to escape from a maze. It isn't the most efficient algorithm, and it won't work on mazes that have islands (Can you imagine why?). Do you think following the left walls would be better?
Once the tester shows that the four cases are handled correctly, here is a maze runner class with its own maze: