
Maze
How to play
Gameplay
Maze solving. A brand-new maze is generated each time and the task is simply to walk from the entrance to the exit. The only real difficulty is keeping your bearings — following one wall consistently always gets you out, but the resulting route is usually far longer than necessary.
Controls
Move with the arrow keys or W A S D, or swipe on a touch screen. The header shows elapsed time and step count, and the maze size can be adjusted to change the difficulty. Reaching the exit reports your time, and restart generates a fresh maze.
FAQ
Is it keyboard-only, or can I play with the mouse?
Both work - arrow keys or WASD move the blue dot, and clicking any adjacent open cell also steps into it. Each maze is a freshly generated 15x15 grid with the exit marked green at the bottom-right.
What is the difference between the three algorithms in the solve tab?
BFS, DFS and A* animate their search step by step: explored cells light up in yellow first, then the solution path draws in blue. A* uses a Manhattan-distance heuristic, so it heads toward the exit more directly than BFS or DFS.
Related articles
More games
Classic Pong on canvas: move your paddle with mouse or arrow keys against the CPU.
Hop your pegs across the star to the opposite corner; single steps or chained jumps.
Eat all the dots while dodging the ghosts in a maze.
Play chess against a friend, race the clock in blitz, or face the computer — castling, en passant and promotion included.
Board game with simplified life-and-death rules
Rhythm games: Piano Tiles, Taiko, Rhythm Master