April 2020
Intermediate to advanced
380 pages
9h 24m
English
The file present at /src/chess_zero/play_game/uci.py creates a universal chess interface for the engine. But what is UCI exactly?
The UCI is a communication standard that was introduced by Rudolf Huber and Stefan Meyer-Kahlen, which allows gameplay with chess engines from any console environment. The standard uses a small set of commands to invoke chess engines to search and output the best moves for any given position of the board.
The communication through the UCI happens with standard input/output and is platform-agnostic. The commands that are available within the UCI script in our program are as follows:
Read now
Unlock full access