Subversion Repositories Games.Chess Giants

Rev

Rev 151 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
137 pmbaty 1
# Chess engine configuration file for Chess Giants.
2
 
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.
8
 
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.
11
# Here is an example of how a UCI engine can be used with Chess Giants thanks
12
# to the Polyglot protocol converter (see also the polyglot.ini file).
13
 
14
#############################
15
# Basic program information #
16
#############################
17
[program]
18
 
19
; program display name
20
name = "Toga II 1.3.4"
21
; program executable
22
executable = "polyglot.exe"
23
 
24
#########################
25
# Reply string patterns #
26
#########################
27
[reply strings]
28
 
29
; the following pattern immediately precedes a SAN-encoded move reply
30
move = "move "
31
 
32
###################
33
# Engine commands #
34
###################
35
[commands]
36
 
37
; command(s) to send to prepare the engine for a new game
38
new game = "new"
39
; command(s) to send to setup a board (%s replaced by a raw FEN string)
40
setup table from fen = "setboard %s"
41
; command(s) to send to set the max search depth (%d replaced by an integer value)
42
search depth set = "sd %d"
43
; command(s) to send to order the engine to start playing (when switching sides)
44
play = "go"
45
; command(s) to send to instruct the engine that its opponent played a specific
46
; move (%s replaced by a 'b1c3'-style encoded move string)
47
move = "%s"
48
; command(s) to send to order the engine to discard its preferred move and play
49
; a specific move instead (%s replaced by a 'b1c3'-style encoded move string)
50
force move = "force;undo;%s;playother"
51
; command(s) to send to tell the chess engine to cleanup and quit. if unset,
52
; its process will be killed, but at the risk of not saving important data.
53
quit = "quit"