A Python program that solves mazes using search algorithms
A Python program that solves mazes using breadth-first search algorithm.
- Loads mazes from text files
- Finds the shortest path from start (A) to goal (B)
- Visualizes the solution with explored cells
- Exports solution as an image
- Clone this repository:
git clone https://github.com/sigonebyexample/maze-solver.git
cd maze-solver
##Install dependencies
pip install -r requirements.txt
##Usage
python maze.py maze.txt