alcy Maze ← back
CELLS0
WALKERS0
Watch the maze grow. click an empty cell = walker · click a path = destruction wave

Maze — a procedurally growing labyrinth

Maze runs several recursive-backtracker walkers that carve paths through a grid in real time. Each walker picks a random unvisited neighbor, moves there, and continues until cornered — then backtracks. The colors of each path differ so you can follow which walker carved which corridor.

How to play

Click an empty spot to drop a new walker that starts carving from that point. Click on an existing corridor to send a destruction wave: the maze unravels outward from your click, erasing every connected cell as the front passes. Reset wipes the grid, PNG saves it.

Why it's satisfying

Recursive backtracking is one of the most elegant maze algorithms — its output looks hand-drawn, with long winding corridors and dead ends. Watching one carve itself live, in front of you, has the same fascination as watching a 3D printer.

About

Maze is part of Alcy, free contemplative micro-games. For more generative art: Bloom, Vine, Spirograph.

Maze
growing labyrinth