A teeny-tiny app which creates a random Perfect Maze and then solve it using 2 algorithms :
- Depth First Search :
- Breath First Search :
Technologies Used : Pygame
git clone https://github.com/MakeSchool-17/trees-mazes-python-monil-bansal.git
2) Create a virtual environment, activate it and install the requirements by running the following command:
virtualenv -p /path/to/python3 venv
source venv/bin/activate
pip3 install -r requirements.txt
- In case you don't have
virutalenv
run the following command :
brew install mercurial sdl sdl_image sdl_mixer sdl_ttf smpeg portmidi Caskroom/cask/xquartz
- For getting the /path/to/python3 run the following command
which python3
python3 generare_maze.py
python3 solve_maze.py
python3 solve_maze.py bfs