Maze

Find your way from the top-left to the exit.

Click any open cell next to you to step there, or use the arrow keys. Every maze has exactly one path through — no dead-end guessing required, just find it.

Moves: 0 · Time: 1s

How a 'perfect maze' is actually built

Every maze here is built with a "recursive backtracker" — the generator carves a path by randomly walking into unvisited cells and backtracking whenever it hits a dead end, knocking down a wall behind it each step. The result is what mazework calls a "perfect maze": exactly one route between any two points, with no loops and no isolated pockets.

That property means a genuinely old trick still works here: put one hand on a wall and never let go, and it will lead you to the exit eventually, wrong turns included. It's slower than actually visualizing the maze, but it's a real, mathematically guaranteed solving method for exactly this kind of maze — worth trying if you're stuck.

Bigger boards do not add any new kind of challenge, just more of the same one: more forks to remember and more dead ends to backtrack out of. Traffic Jam is a different kind of logic puzzle if you want planning ahead rather than pathfinding.

Common questions

How do I move?

Click any cell next to you that has an open passage, or use the arrow keys on a keyboard.

Is every maze solvable?

Yes — each maze is generated so there is always exactly one path between the start and the exit.

What do the difficulty levels change?

Easy uses a small 9x9 grid, Medium a 13x13 grid, and Hard a 19x19 grid — the bigger the maze, the more turns and dead ends to work through.