Maze Runner

Navigate through randomly generated mazes as fast as you can — each maze is bigger and trickier than the last.

Maze Runner

Navigate from start to exit

Level
1
Time
00:00
Best:

Level Complete!

Time:

Best:

3 stars under | 2 stars under

Features

  • Procedurally generated perfect mazes using recursive backtracker algorithm
  • Progressive difficulty: Level 1 is 10x10, increasing by 2 each level up to 30x30
  • Arrow keys, WASD, touch swipe, and on-screen D-pad controls
  • Timer with star ratings based on completion speed
  • Fog-of-war mode revealing only cells within 3 steps of the player
  • Breadcrumb trail toggle showing your visited path
  • Viewport scrolling for larger mazes to keep the player centered
  • Smooth player movement animation
  • Best time tracking per level saved to localStorage
  • Responsive canvas rendering with mobile-friendly controls

How to Use

  1. Use arrow keys or WASD to move through the maze (or swipe / use the D-pad on mobile).
  2. Navigate from the green entrance (top-left) to the red exit (bottom-right).
  3. Complete the maze quickly for a 3-star rating.
  4. Toggle Fog of War for an extra challenge that hides unexplored areas.
  5. Toggle Breadcrumbs to see (or hide) your path through the maze.
  6. Click New Maze to generate a fresh maze at the current level.
  7. Beat each level to unlock the next, progressively larger maze.