My implementation of a bot playing the game of checkers.
This was a part of the course "Artificial Intelligence" at The Royal Institute of Technology, illustrating concepts such as minimax and alpha-beta pruning.
A description of the assignment can be found on Kattis. It looks like the assignment may have changed slighly over the years. A screenshot of the original assignment has been committed to this repository.
Run this command in the src directory:
javac -d ./bin *.java
Run these commands in the src/bin directory:
mkfifo /tmp/keystone
java Main init verbose < /tmp/keystone | ../bots/xyz > /tmp/keystone
Where xyz is the name of the bot. The player invoked with init will be
playing as white.
A Checkers visualizer is available on GitHub here.