Algorithms & EmergenceAlgorithms
The Hand-on-the-Wall Rule
Keep one hand on the wall and you'll escape most mazes
You're deep in a hedge maze, no map, no signal, and every corner looks the same. Could one simple habit walk you out?
You'll find out
- The one-hand trick for mazes
- The kind of maze that defeats it
- How a computer finds the shortest way
Why it matters
Maze rules are search rules: the same ideas steer robot vacuums, game characters and the route on your map app.
Play this lesson
Free to play in your browser or on iPhone