This is code which is intended to port the Prolog code used in the course 'Zoeken, Sturen, Bewegen' (ZSB).
An example run
$ python3 chessgame.py
Reading from board.chb...
abcdefgh
8 ...K....
7 k..R....
6 ........
5 ........
4 ........
3 ........
2 ........
1 ........
It is White's turn
Current score: 460
Calculating best move...
Best move: d7a7
Score to achieve: 2050
Indicate your move (or q to stop): a7a6
Incorrect move!
Indicate your move (or q to stop): d7a7
abcdefgh
8 ...K....
7 R.......
6 ........
5 ........
4 ........
3 ........
2 ........
1 ........
It is Black's turn
White wins!