Subversion Repositories Games.Chess Giants

Rev

Rev 51 | Rev 151 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
33 pmbaty 1
# Chess engine configuration file for Chess Giants.
32 pmbaty 2
 
44 pmbaty 3
# Chess Giants is engine-agnostic, which means it can handle any CECP-compliant
4
# engine, and virtually any state-based engine that communicates using newline-
5
# terminated ASCII strings over standard IO (stdin/stdout). All it needs is to
6
# read this configuration file to learn how to talk to the engine, and how to
7
# interpret the engine's replies.
33 pmbaty 8
 
44 pmbaty 9
# IMPORTANT: UCI engines are "stateless" engines. These engines work in a very
10
# different way and therefore an adapter program such as Polyglot must be used.
50 pmbaty 11
# See the "Fruit" or "Stockfish" engine configuration files for an example.
44 pmbaty 12
 
33 pmbaty 13
#############################
14
# Basic program information #
15
#############################
16
[program]
17
 
18
; program display name
109 pmbaty 19
name = "Crafty 25.0.1"
33 pmbaty 20
; program executable
40 pmbaty 21
executable = "crafty.exe"
33 pmbaty 22
 
23
#########################
24
# Reply string patterns #
25
#########################
26
[reply strings]
27
 
28
; the following pattern immediately precedes a SAN-encoded move reply
51 pmbaty 29
move = "move "
33 pmbaty 30
 
31
###################
32
# Engine commands #
33
###################
34
[commands]
35
 
36
; command(s) to send to prepare the engine for a new game
40 pmbaty 37
new game = "new"
44 pmbaty 38
; command(s) to send to setup a board (%s replaced by a raw FEN string)
40 pmbaty 39
setup table from fen = "setboard %s"
44 pmbaty 40
; command(s) to send to set the max search depth (%d replaced by an integer value)
40 pmbaty 41
search depth set = "sd %d"
33 pmbaty 42
; command(s) to send to order the engine to start playing (when switching sides)
40 pmbaty 43
play = "go"
44 pmbaty 44
; command(s) to send to instruct the engine that its opponent played a specific
45
; move (%s replaced by a 'b1c3'-style encoded move string)
46
move = "%s"
42 pmbaty 47
; command(s) to send to order the engine to discard its preferred move and play
44 pmbaty 48
; a specific move instead (%s replaced by a 'b1c3'-style encoded move string)
51 pmbaty 49
force move = "force;undo;%s;playother"
33 pmbaty 50
; command(s) to send to tell the chess engine to cleanup and quit. if unset,
51
; its process will be killed, but at the risk of not saving important data.
40 pmbaty 52
quit = "quit"