Rev 44 | Rev 51 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 44 | 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 | # See the "Fruit" engine configuration |
11 | # See the "Fruit" or "Stockfish" engine configuration files for an example. |
| 12 | 12 | ||
| 13 | ############################# |
13 | ############################# |
| 14 | # Basic program information # |
14 | # Basic program information # |
| 15 | ############################# |
15 | ############################# |
| 16 | [program] |
16 | [program] |
| Line 25... | Line 25... | ||
| 25 | ######################### |
25 | ######################### |
| 26 | [reply strings] |
26 | [reply strings] |
| 27 | 27 | ||
| 28 | ; the following pattern immediately precedes a SAN-encoded move reply |
28 | ; the following pattern immediately precedes a SAN-encoded move reply |
| 29 | move = "): " |
29 | move = "): " |
| 30 | ; the following pattern immediately precedes a hint reply |
- | |
| 31 | hint = "Hint: " |
- | |
| 32 | 30 | ||
| 33 | ################### |
31 | ################### |
| 34 | # Engine commands # |
32 | # Engine commands # |
| 35 | ################### |
33 | ################### |
| 36 | [commands] |
34 | [commands] |
| Line 41... | Line 39... | ||
| 41 | setup table from fen = "setboard %s" |
39 | setup table from fen = "setboard %s" |
| 42 | ; command(s) to send to set the max search depth (%d replaced by an integer value) |
40 | ; command(s) to send to set the max search depth (%d replaced by an integer value) |
| 43 | search depth set = "sd %d" |
41 | search depth set = "sd %d" |
| 44 | ; command(s) to send to order the engine to start playing (when switching sides) |
42 | ; command(s) to send to order the engine to start playing (when switching sides) |
| 45 | play = "go" |
43 | play = "go" |
| 46 | ; command(s) to send to order the engine to analyze this position |
- | |
| 47 | hint = "hint" |
- | |
| 48 | ; command(s) to send to instruct the engine that its opponent played a specific |
44 | ; 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) |
45 | ; move (%s replaced by a 'b1c3'-style encoded move string) |
| 50 | move = "%s" |
46 | move = "%s" |
| 51 | ; command(s) to send to order the engine to discard its preferred move and play |
47 | ; command(s) to send to order the engine to discard its preferred move and play |
| 52 | ; a specific move instead (%s replaced by a 'b1c3'-style encoded move string) |
48 | ; a specific move instead (%s replaced by a 'b1c3'-style encoded move string) |