GerGame.
Skill · GerGame Original

Maze Runner

★★★★☆ 4.0 / 5 · Editor-reviewed

Editor's review

Mazes are generated with depth-first search backtracking, which produces what mathematicians call a perfect maze — a single solution path with no loops. The technique is elegant: start at a random cell, knock down a wall to a random unvisited neighbor, repeat until stuck, then backtrack. Sizes go from 12x12 (about 30 seconds to solve) to 30x30 (3-5 minutes).

How to play

Navigate from the green start cell (top-left) to the red exit cell (bottom-right). Walls block your movement.

Controls

Arrow keys · WASD · Or on-screen D-pad on mobile