Skip to main content
This page was machine-translated and may contain errors or omissions.

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.