Online Maze Game - Procedural Puzzles
Navigate procedurally generated mazes at three difficulty levels. Timer, move counter, and solution reveal. Keyboard and touch controls.
Runs in your browser. No data leaves your device.
Frequently Asked Questions
How do I play Maze?
Mazes are procedurally generated using recursive backtracking -- starting from cell (1,1), the algorithm carves passages by randomly visiting unvisited neighbors two cells away, guaranteeing a single solution path. Player movement runs in a requestAnimationFrame loop with axis-separated collision detection against a wall grid, allowing smooth wall-sliding around corners. The solution overlay uses BFS shortest-path from your current cell to the goal.
Are the mazes randomly generated?
Yes. Every maze is procedurally generated using a randomized algorithm, so you get a unique puzzle every time you play. No two mazes are the same.
What difficulty levels are available?
Three levels with increasing maze size and complexity. Easy mazes are small with simpler paths, while hard mazes are large with many dead ends and longer solutions.
Can I see the solution?
Yes. If you get stuck, reveal the solution path to see the correct route from start to finish. Try solving it yourself first for the full puzzle experience.