Chess bot written in Prolog. This bot will take a chess board from stdin and print the best next move, determined by alpha-beta pruning, to stdout. This chess bot was written as project for the course Logical Programming 2020 at Ghent University
Make sure to install the SWI Prolog Suite (swipl) and GNU Make before getting started.
This mode will take a board from stdin and return all possible next moves to stdout.
cat boards/start.txt | make all-moves
This mode will take a board from stdin and return the next best move, determined by alpha-beta pruning, to stdout.
cat boards/start.txt | make next-move
To run all available unit tests:
make test
To build the PLDocs run:
make docs