Skip to content

physar/ZSB-python

Repository files navigation

ZSB-python

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •