This repository hosts the American Checkers game built using Python.
Open rules.md to view the rules of the game
3.8.6
Python version: 3.0+
Sample Installation commands <Open the above link to find appropriate command depending on your OS & PackageManager
Run: pip install numpy
Run: pip install matplotlib
Run: pip install torch==1.7.1+cpu torchvision==0.8.2+cpu torchaudio===0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
Clone the repository by using the URL: https://github.com/nikeshsraj10/checkers-ai.git
CD into the game directory: cd checkers-ai
Run: python .\src\main.py
You'll have the option to play against an AI or another Human or watch two AI play
Run the above command to know more
To Configure the board and number of games use the below command
Run: python .\src\bot_simulate.py {board_config} {number_of_games}
Valid values for board_config are 8 & 10
The following command will run 8x8 board for 50 games
Run: python .\src\bot_simulate.py 8 50
To Configure the board and number of games use the below command
Run: python .\src\treenn_vs_tree.py {board_config} {number_of_games}
Valid values for board_config are 8 & 10
The following command will run 8x8 board for 50 games
Run: python .\src\treenn_vs_tree.py 8 50
Run: cd plots
to check out the plots and the saved data from our simulation
View Plots: Plots