Create and solve mazes of varying difficulty using Python and the Tkinter library.
View Demo
This maze solver creates a maze of varying difficulty depending on user input. Then, using a BFS searching algorithm, navigates the maze until successfully reaching the end.
- Clone the repo
git clone https://github.com/slacey21/maze_solver
- From the command line, run the
main.py
file along with an optional flag to indicate the difficulty of the maze (medium is default difficulty).
python main.py [-emh]
- Difficulty Flags:
-e
: Easy difficulty, creates 6 x 6 grid of cells as base for maze-m
: Medium difficulty (default if no arg provided), creates 12 x 12 grid of cells as base for maze-h
: Hard difficulty, creates 18 x 18 grid of cells as base for maze