Python Maze Solver is a project that generates a random maze, visualises it using tkinter
, and solves it with a recursive backtracking algorithm. The project highlights the procedural generation of mazes and visualises the solving process step by step.
- Maze Generation: Randomly generates a grid-based maze using recursive backtracking.
- Maze Visualization: Uses
tkinter
for interactive visualization of the maze and solving process. - Recursive Solving: Implements a depth-first search algorithm to find the solution.
- Customisable Parameters: Allows flexibility in maze size, dimensions, and animation speed.
- Clone the repository:
git clone https://github.com/miggoxyz/mazer.git
cd mazer
- Ensure you have Python 3.8+ installed (with
tkinter
pre-installed in most installations). - No additional external libraries are required.
Run the main script to generate and solve the maze:
python main.py