Skip to content

Create and solve a maze using Python and the Tkinter library

License

Notifications You must be signed in to change notification settings

slacey21/maze_solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Maze Logo

maze_solver

Create and solve mazes of varying difficulty using Python and the Tkinter library.
View Demo

Description

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.

Installation

  1. Clone the repo
git clone https://github.com/slacey21/maze_solver
  1. 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

Preview

Maze Solver at Work

Logo

License

MIT License

About

Create and solve a maze using Python and the Tkinter library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages