jstrassburg / cs6230-chess-player

A simple AI player implementaion for the game of chess. Developed for a project for MSOE course CS6230 - AI Tools.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cs6230-chess-player

A simple AI player implementaion for the game of chess. Developed for a project for MSOE course CS6230 - AI Tools.

Running the program

virtualenv .env
.env\Scripts\activate
pip install -r requirements.txt
python .\play_chess.py --help
usage: play_chess.py [-h] [--search-depth SEARCH_DEPTH] [--max-children MAX_CHILDREN] [--max-turns MAX_TURNS] [--iterations ITERATIONS] [--outfile OUTFILE]

Play some chess

options:
  -h, --help            show this help message and exit
  --search-depth SEARCH_DEPTH
                        How many levels deep to search for a good move. Default: 3
  --max-children MAX_CHILDREN
                        How many random legal moves will be evaluated. Default: 5
  --max-turns MAX_TURNS
                        Play until this many turns have been played. Default: 150
  --iterations ITERATIONS
                        How many iterations to run with this configuration. Default: 10
  --outfile OUTFILE     Where to write the results. Default: chess-results.csv

Experiments

The experiments ran for the class assignment were executed via the script experiements.ps1.

About

A simple AI player implementaion for the game of chess. Developed for a project for MSOE course CS6230 - AI Tools.

License:The Unlicense


Languages

Language:Python 92.7%Language:PowerShell 7.3%