Subversion Repositories Games.Chess Giants

Rev

Rev 42 | Rev 50 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 42 Rev 44
Line 1... Line 1...
1
# Chess engine configuration file for Chess Giants.
1
# Chess engine configuration file for Chess Giants.
2
 
2
 
3
# Chess Giants is engine-agnostic, which means it can handle both CECP and UCI
3
# Chess Giants is engine-agnostic, which means it can handle any CECP-compliant
4
# engines, and virtually any engine that communicates using newline-terminated
4
# engine, and virtually any state-based engine that communicates using newline-
5
# ASCII strings over standard IO (stdin/stdout). All it needs is to read this
5
# terminated ASCII strings over standard IO (stdin/stdout). All it needs is to
6
# configuration file to learn how to talk to the engine, and how to interpret
6
# read this configuration file to learn how to talk to the engine, and how to
7
# the engine's replies.
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
# See the "Fruit" engine configuration file for an example.
8
 
12
 
9
#############################
13
#############################
10
# Basic program information #
14
# Basic program information #
11
#############################
15
#############################
12
[program]
16
[program]
13
 
17
 
14
; program display name
18
; program display name
15
name = "Crafty v24.0"
19
name = "Crafty 24.0"
16
; program executable
20
; program executable
17
executable = "crafty.exe"
21
executable = "crafty.exe"
18
 
22
 
19
#########################
23
#########################
20
# Reply string patterns #
24
# Reply string patterns #
Line 31... Line 35...
31
###################
35
###################
32
[commands]
36
[commands]
33
 
37
 
34
; command(s) to send to prepare the engine for a new game
38
; command(s) to send to prepare the engine for a new game
35
new game = "new"
39
new game = "new"
36
; command(s) to send to setup a board (followed by a raw FEN string)
40
; command(s) to send to setup a board (%s replaced by a raw FEN string)
37
setup table from fen = "setboard %s"
41
setup table from fen = "setboard %s"
38
; command(s) to send to set the max search depth (followed by an integer value)
42
; command(s) to send to set the max search depth (%d replaced by an integer value)
39
search depth set = "sd %d"
43
search depth set = "sd %d"
40
; command(s) to send to order the engine to start playing (when switching sides)
44
; command(s) to send to order the engine to start playing (when switching sides)
41
play = "go"
45
play = "go"
42
; command(s) to send to order the engine to analyze this position
46
; command(s) to send to order the engine to analyze this position
43
hint = "hint"
47
hint = "hint"
-
 
48
; command(s) to send to instruct the engine that its opponent played a specific
-
 
49
; move (%s replaced by a 'b1c3'-style encoded move string)
-
 
50
move = "%s"
44
; command(s) to send to order the engine to discard its preferred move and play
51
; command(s) to send to order the engine to discard its preferred move and play
45
; a specific move instead (followed by a SAN-encoded move string)
52
; a specific move instead (%s replaced by a 'b1c3'-style encoded move string)
46
force move = "force %s"
53
force move = "force %s"
47
; command(s) to send to tell the chess engine to cleanup and quit. if unset,
54
; command(s) to send to tell the chess engine to cleanup and quit. if unset,
48
; its process will be killed, but at the risk of not saving important data.
55
; its process will be killed, but at the risk of not saving important data.
49
quit = "quit"
56
quit = "quit"