Subversion Repositories Games.Chess Giants

Rev

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

Rev 47 Rev 50
Line 6... Line 6...
6
# read this configuration file to learn how to talk to the engine, and how to
6
# read this configuration file to learn how to talk to the engine, and how to
7
# interpret the engine's replies.
7
# interpret the engine's replies.
8
 
8
 
9
# IMPORTANT: UCI engines are "stateless" engines. These engines work in a very
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.
10
# different way and therefore an adapter program such as Polyglot must be used.
11
 
-
 
12
# Here is an example of how a UCI engine (Fruit) can be used with Chess Giants
11
# Here is an example of how a UCI engine can be used with Chess Giants thanks
13
# thanks to the Polyglot protocol converter. When using UCI engines with Chess
12
# to the Polyglot protocol converter (see also the polyglot.ini file).
14
# Giants, be aware that two game features may not work : user-requested hints,
-
 
15
# and engine obstinacy (UCI engines are stateless and don't support obstinacy).
-
 
16
 
13
 
17
#############################
14
#############################
18
# Basic program information #
15
# Basic program information #
19
#############################
16
#############################
20
[program]
17
[program]
Line 29... Line 26...
29
#########################
26
#########################
30
[reply strings]
27
[reply strings]
31
 
28
 
32
; the following pattern immediately precedes a SAN-encoded move reply
29
; the following pattern immediately precedes a SAN-encoded move reply
33
move = "move "
30
move = "move "
34
; the following pattern immediately precedes a hint reply
-
 
35
hint = "Hint: "
-
 
36
 
31
 
37
###################
32
###################
38
# Engine commands #
33
# Engine commands #
39
###################
34
###################
40
[commands]
35
[commands]
Line 45... Line 40...
45
setup table from fen = "setboard %s"
40
setup table from fen = "setboard %s"
46
; command(s) to send to set the max search depth (%d replaced by an integer value)
41
; command(s) to send to set the max search depth (%d replaced by an integer value)
47
search depth set = "sd %d"
42
search depth set = "sd %d"
48
; command(s) to send to order the engine to start playing (when switching sides)
43
; command(s) to send to order the engine to start playing (when switching sides)
49
play = "go"
44
play = "go"
50
; command(s) to send to order the engine to analyze this position
-
 
51
hint = "hint"
-
 
52
; command(s) to send to instruct the engine that its opponent played a specific
45
; command(s) to send to instruct the engine that its opponent played a specific
53
; move (followed by a 'b1c3'-style encoded move string)
46
; move (followed by a 'b1c3'-style encoded move string)
54
move = "%s"
47
move = "%s"
55
; command(s) to send to order the engine to discard its preferred move and play
48
; command(s) to send to order the engine to discard its preferred move and play
56
; a specific move instead (%s replaced by a 'b1c3'-style encoded move string)
49
; a specific move instead (%s replaced by a 'b1c3'-style encoded move string)