Labyrinth Maze Walker

A glowing orb autonomously solves a randomly generated maze using breadth-first search, the same graph-traversal idea behind wall-follower and shortest-path algorithms used in real maze-solving robots. Physical tilting labyrinth toys date back over a century: a player tilts a wooden board so gravity rolls a steel ball along channels toward a goal while avoiding holes. Here fog-of-war lighting mimics that limited-visibility feel, revealing only the area near the orb's point light as it walks the computed path. When it reaches the goal, the maze regenerates and a fresh path is solved, echoing how pathfinding must re-run whenever a maze layout changes.

Stats

Maze size-
Path length-
Walker speed-
State-
Progress-

Controls