Maze — Calm, Playable, Privacy-First
Runs entirely in your browser. No uploads, no accounts.
How to Play
- Swipe inside the maze or tap the D-pad to move one cell.
- Guide the green dot to the red star.
- Tap Crumbs to leave a small trail behind your path.
- Tap Hint to briefly show the shortest path from your position to the goal.
- Use the Seed box to recreate the same maze later.
About This Maze Game
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.
What is a “perfect” maze?
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.
How the generator works (in plain English)
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.
Choosing a size (and what “difficulty” really means)
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.
Learning benefits
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.
Tips for smoother solves
- Scan for long corridors first, then commit to a route.
- Use Crumbs to mark junctions you want to revisit.
- If you’re stuck, tap Hint briefly, then try to reconstruct the route yourself.
- Replay with the same Seed to beat your previous time and step count.
Accessibility & privacy
Move with arrow keys or WASD on desktop, or swipe/tap on touch screens. Lines are high-contrast and animations are minimal.
Your best time is stored locally via localStorage
; nothing is uploaded. For more calm games, try
Minesweeper, 2048, or
Printable Maze Generator.