Maze

Generating maze…

Maze

A brand-new maze every round. Find your way to the exit and collect stars along the way.

See details
  • Runs in your browser
  • No signup
  • Games
  • Updated on
About this game

A different maze every single time you play

Maze generates a brand-new layout for every round using randomized depth-first search (the recursive backtracker algorithm): it carves passages cell by cell until exactly one trail connects every point on the board to the exit, with no shortcuts and no crossing dead ends. That guarantees every maze has exactly one valid path and never comes out broken. Pick from three difficulty tiers, which grow the grid size, gather the stars scattered along the way, and try to beat your own best time to the exit.

How to play

Move one cell at a time toward the flag

  1. Pick a difficulty: easy, medium or hard, each one a bigger maze.
  2. Move with the arrow keys, WASD, a swipe gesture, or the on-screen directional buttons.
  3. Collect the stars along the way and reach the flag 🏁 to win the round; your best time per difficulty is saved automatically.
FAQ

Frequently asked questions

Every maze is built on the spot by a randomized depth-first search algorithm, which carves a single trail connecting every cell on the board. The result is always a "tree" with no loops and no isolated dead ends, meaning there's always exactly one valid path from the start to the exit. It never comes out broken or unsolvable.

Games