Download and Play our AI
To play our AI, please download our code from the links above:
ChessBoard.py contains the code for a chess game which we borrowed
MinMax.py contains the code for our AI
PlayMinMax.py contains the code which interfaces between ChessBoard.py and either MinMax.py or a human player.
To play against our AI, open a terminal and navigate to the appropriate folder, then run PlayMinMax.py in terminal. The program should ask you what color the AI should take, then print an ascii chess board. Now the program will prompt you for moves when it is your turn and make moves after aproximately 15 seconds when it is the AIs turn. Our read me has more details about downloading and running our code.
Your moves are entered as 4 character strings composed of the current space of the piece you want to move followed by the space you want to move it to. Spaces are indicated by the lower case letter of the column followed by the number of the row.