Maze Runner
Maze Runner generates a unique maze every time you play. The maze is created using a recursive backtracking algorithm that guarantees every maze has exactly one solution, no dead-end loops, and a solvable path from start to finish. Each maze is a square grid with walls represented by visual blocks and paths represented by open corridors. Your goal is to navigate from the starting position (top-left corner, marked green) to the exit (bottom-right corner, marked red) in as few moves as possible. You can move in four directions using arrow keys, on-screen buttons, or swipe gestures on mobile devices.
The maze generation algorithm works by carving a path through a grid of walls: it starts at a random cell, marks it as visited, then randomly selects an unvisited neighbor. If all neighbors are visited, it backtracks to the previous cell and tries another direction. This creates a perfect maze where every cell is reachable and there is exactly one path between any two points. The maze size adjusts to your device: smaller screens get an 8x8 grid, while larger screens get a 12x12 grid. The move counter tracks your efficiency, and the game compares your moves to the optimal solution length. A perfect score (matching the optimal path) is a true indication of spatial reasoning ability. Each solved maze gives you a star rating based on how close you came to the optimal solution.
Controls
Designed for both desktop and mobile play. Touch-friendly interface.