Skip to content

This repository contains implementation of bot to play baagchal game using minimax algorithm. The GUI part is drawn using Tkinter.

Notifications You must be signed in to change notification settings

Bishalsarang/AI-plays-Baagchal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-plays-Baagchal

In this repository, I'll be writing an AI to play Baagchal using minimax algorithm.

Usage

If you directly want to run the executable file without worrying about installing python and installing configparser, the windows version is available in release for downloads.

Alternatively,

Installation

configparser is the only dependencies other than tkinter.

pip install configparser

or, alternatively:

pip install -r requirements.txt

python gui.py

Screenshots

enter image description here

TO DOS:

  • GUI
  • Map GUI to grid
  • Add constraints for moves
  • Minimal working version for 2 players
  • Add Controls
  • Implement AI: minimax
  • Randomize optimal moves
  • Improve Heuristic function
  • Rework on the messy code