This repository hosts a project that aims to illustrate various search algorithms used in Artificial Intelligence, here applied in the context of solving Mazes.
- Make sure you have Python installed.
- C/C++ Compiler: Make sure you have a C/C++ compiler available on your system.
- Windows: Install Microsoft Visual C++.
- Linux: Most distributions come with
gcc
pre-installed. - macOS: Xcode command line tools include a C/C++ compiler.
-
Clone the repository:
git clone https://github.com/mtbelkebir/MazeSearch.git cd MazeSearch
-
Create a virtual environment (Recommended):
python -m venv .venv
-
Install the dependencies:
pip install -r requirements.txt
Run the program using the following command:
python main.py
Easily create random, perfect mazes with customizable options for starting point, goal, and maze size, offering a unique challenge every time.
Add a personal touch to the maze by drawing or erasing obstacles with your cursor. Press W
to add obstacles and X
to remove them.
Set your own starting point and goal within the maze by moving your cursor to the desired location and pressing A
or Z
respectively.