- ; Chess engine configuration file for Chess Giants. 
-   
- ; Chess Giants is engine-agnostic, which means it can handle any CECP-compliant 
- ; engine, and virtually any state-based engine that communicates using newline- 
- ; terminated ASCII strings over standard IO (stdin/stdout). All it needs is to 
- ; read this configuration file to learn how to talk to the engine, and how to 
- ; interpret the engine's replies. 
-   
- ;############################# 
- ;# Basic program information # 
- ;############################# 
- [program] 
-   
- ; program display name 
- name = "Crafty 25.2" 
- ; program executable 
- executable = "crafty.exe" 
- ; optional program arguments 
- arguments = "" 
- ; minimal Windows version requirement 
- winver = 5.1 
-   
- ;######################### 
- ;# Reply string patterns # 
- ;######################### 
- [reply strings] 
-   
- ; the following pattern immediately precedes a SAN-encoded move reply 
- move = "move " 
-   
- ;################################################## 
- ;# Engine commands (separate each by a semicolon) # 
- ;################################################## 
- [commands] 
- ; Special strings: some strings enclosed between ${...} are converted during 
- ; the game to dynamic values. We call this "variables". Here is the list: 
- ; ${MAX_CORES} -- will be expanded to the maximum number of CPU cores to use 
- ; ${START_POS} -- will be expanded to the full FEN string of the start pos 
- ; ${CURRENT_POS} -- will be expanded to the full FEN string of the current pos 
- ; ${SEARCH_DEPTH} -- will be expanded to the maximum allowed search depth 
- ; ${LAST_MOVE} -- will be expanded to the last move in long algebraic notation 
- ; ${GAME_HISTORY} -- will be expanded to the game history in long algebraic 
-   
- ; command(s) to send to prepare the engine for a new game 
- new game = "new" 
-   
- ; command(s) to send to setup a board (using a a raw FEN string) 
- setup table from fen = "sd ${SEARCH_DEPTH};setboard ${CURRENT_POS}" 
-   
- ; command(s) to send to order the engine to start playing (when switching sides) 
- play = "sd ${SEARCH_DEPTH};go" 
-   
- ; command(s) to send to instruct the engine that its opponent played a move 
- move = "sd ${SEARCH_DEPTH};${LAST_MOVE}" 
-   
- ; command(s) to send to order the engine to change its last move and force one 
- force move = "force;undo;${LAST_MOVE};sd ${SEARCH_DEPTH};playother" 
-   
- ; command(s) to send to tell the chess engine to cleanup and quit. if unset, 
- ; its process will be killed, but at the risk of not saving important data. 
- quit = "quit" 
-