Maze — Calm, Playable, Privacy-First

Swipe in the maze or use the D-pad / keyboard. Everything runs locally—no uploads.

Stats & Controls

Time0s Steps0 Best
Swipe in the maze or use the D-pad. Reach the ★!

Runs entirely in your browser. No uploads, no accounts.

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.

5 Fun Facts about Mazes

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.

Definitions

Wall-following sometimes fails

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.

Wall trick

Built as a spanning tree

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.

Graph roots

Seeds make twins

Use the same seed and size to recreate an identical maze—great for classroom races, time trials, or sharing a “beat my score” challenge.

Repeatable

BFS finds the hint

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.

Shortest route

Explore more tools