This project was developed for CSC-520 Artificial Intelligence Course at NC State University for Spring 2024. The Bagh-Bandi Game brings the centuries-old traditional game into the modern world of artificial intelligence. This strategic, adversarial game pits two players against each other: the goats, controlled by an AI, and the tigers, operated by a human player. Developed in Python, the game leverages both classic and advanced AI strategies, including Breadth-First Search (BFS), Depth-First Search (DFS), and A search algorithms*. Additionally, the game incorporates the Monte-Carlo Tree Search (MCTS) to simulate sophisticated gameplay tactics, offering a challenging and immersive experience that combines traditional gameplay with cutting-edge AI methods.
Uchswas Paul Fardin Saad Adittya Soukarjya Saha Vinay Vobbilichetty
- Python 3.x
- pip (Python package installer)
-
Clone the repository and go to the BaghBandi_AI folder:
git clone https://github.ncsu.edu/upaul/BaghBandi_AI.git cd BaghBandi_AI
or You can unzip the file and go to the folder
-
Install dependencies using pip:
pip install -r requirements.txt
-
Change directory to src
cd src
After completing the installation and configuration steps, you can run your Python script. Ensure that all dependencies are installed and the environment variables are properly set.
python3 main.py <algo_name>
- bfs
- dfs
- astar
- monte_carlo
- random