Bagh-Bandi Game: Exploring Ancient Games through Modern AI Strategies (2024)

Static Badge Static Badge Static Badge

Overview

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.

Gameplay

Team Members

Uchswas Paul Fardin Saad Adittya Soukarjya Saha Vinay Vobbilichetty

Requirements

  • Python 3.x
  • pip (Python package installer)

Installation

  1. 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

  2. Install dependencies using pip:

    pip install -r requirements.txt
  3. Change directory to src

    cd src

Running the Script

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> 
Valid Algorithm names:
  1. bfs
  2. dfs
  3. astar
  4. monte_carlo
  5. random