Maze Generator & Solver
Random maze generation with player movement or auto-solve button
Moves
0
Status
Playing
Maze
Use arrow keys or WASD to move. Reach the green goal!
You Might Also Like
Explore more tools in this category
Pig Latin Translator
Convert English to Pig Latin and back - fun word play language game
Bingo Card Generator
Generate random bingo cards for games and events with customizable options
Metronome
Online metronome with adjustable tempo, time signatures, and subdivisions
Minesweeper
Classic Minesweeper game with three difficulty levels
Color Sequence Memory Game
Test your memory with the classic Simon Says color sequence game
Tower of Hanoi
Solve the classic Tower of Hanoi puzzle with interactive visualization
Stopwatch Accuracy Challenge
Test your timing skills by stopping at exactly 10 seconds
Sliding Number Puzzle
Play the classic 15-puzzle game with 3x3, 4x4, and 5x5 grids
Tetris Game
Play classic Tetris with modern controls and beautiful UI
About Maze Generator & Solver
How to Play
- Use arrow keys (β β β β) or WASD keys to move
- Start at the green square in the top-left corner
- Navigate through the maze to reach the goal (bottom-right)
- You cannot move through walls
- Try to complete the maze in the fewest moves possible
Features
- Random maze generation using recursive backtracking
- Keyboard controls (Arrow keys or WASD)
- Auto-solve feature with pathfinding algorithm
- Move counter to track efficiency
- Visual solution path display
- 15Γ15 grid size for challenging gameplay
- Beautiful SVG-based maze rendering
Algorithm
The maze is generated using the Recursive Backtracking algorithm, which creates a perfect maze (one solution, no loops). The auto-solve feature uses Breadth-First Search (BFS) to find the shortest path from start to finish.
Tips
- Try to visualize the path before moving
- Use the auto-solve to learn optimal paths
- Generate new mazes for endless variety
- Challenge yourself to beat your move count
- Perfect mazes always have exactly one solution