Mazes vs. labyrinths
A labyrinth is one winding path to a center; a maze branches with choices and dead ends. This game is a true maze, not a single-path labyrinth.
Runs entirely in your browser. No uploads, no accounts.
This is a calm, mobile-friendly maze game you can play in any modern browser. Swipe inside the maze (or use the on-screen D-pad / keyboard) to guide the green dot to the red star. There are no downloads, accounts, or trackers—everything runs 100% client-side for a private, fast experience on iOS, Android, Windows, macOS, and Chromebooks.
A perfect maze has exactly one simple route between any two cells—no loops and no isolated areas. That property makes the challenge feel fair: there is always a solvable path to the goal, and backtracking is part of the fun rather than a dead end. Our generator produces a fresh perfect maze every time you hit New Maze, so you can practice on endlessly varied layouts.
Behind the scenes, the game uses a classic depth-first search “carving” method (often called a recursive backtracker). Imagine a virtual pen walking the grid, knocking down walls to create passages, then stepping back whenever it reaches a cul-de-sac. The result is an elegant network of corridors with a single path between any two points. When you tap Hint, the game quickly finds the shortest path from your current position to the goal using a breadth-first search (BFS) and shows it briefly as a soft overlay.
Maze “difficulty” here is mostly about grid size and how twisty the passages become. Smaller grids (15×15) are great for quick breaks and younger players; 21×21 offers a classic five-minute challenge; 31×31 is a deeper, more exploratory puzzle. Turn on Crumbs to leave a gentle trail of where you’ve been—handy for teaching route planning and spatial memory.
Mazes are a simple way to practice spatial reasoning, working memory, and executive function (planning and revising a route). For classrooms or clubs, you can type a Seed so everyone gets the same layout—great for friendly races or homework with a common starting point.
A labyrinth is one winding path to a center; a maze branches with choices and dead ends. This game is a true maze, not a single-path labyrinth.
The right-hand rule works only if the maze has no loops separating walls. Perfect mazes on a rectangle obey it; add loops or islands and you’ll go in circles.
Perfect mazes are just spanning trees: every cell connects once, with no cycles. That’s why there’s exactly one simple path between any two points.
Use the same seed and size to recreate an identical maze—great for classroom races, time trials, or sharing a “beat my score” challenge.
The shortest-path hint is just a breadth-first search from start to goal—an AI 101 algorithm that guarantees the optimal route in grid mazes.