Rev 32 | Rev 39 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 32 | Rev 33 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | # |
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 |
|
- | 4 | # engines, and virtually any engine that communicates using newline-terminated |
|
- | 5 | # ASCII strings over standard IO (stdin/stdout). All it needs is to read this |
|
- | 6 | # configuration file to learn how to talk to the engine, and how to interpret |
|
- | 7 | # the engine's replies. |
|
- | 8 | ||
- | 9 | ############################# |
|
- | 10 | # Basic program information # |
|
- | 11 | ############################# |
|
3 |
|
12 | [program] |
- | 13 | ||
- | 14 | ; program display name |
|
4 | name = Crafty v24.0 |
15 | name = Crafty v24.0 |
- | 16 | ; program executable |
|
5 |
|
17 | executable = crafty.exe |
- | 18 | ||
- | 19 | ######################### |
|
6 |
|
20 | # Reply string patterns # |
- | 21 | ######################### |
|
- | 22 | [reply strings] |
|
- | 23 | ||
- | 24 | ; the following pattern immediately precedes a SAN-encoded move reply |
|
7 | move |
25 | move = "): " |
- | 26 | ; the following pattern immediately precedes a hint reply |
|
8 | hint |
27 | hint = "Hint: " |
- | 28 | ||
- | 29 | ################### |
|
- | 30 | # Engine commands # |
|
- | 31 | ################### |
|
- | 32 | [commands] |
|
- | 33 | ||
- | 34 | ; command(s) to send to prepare the engine for a new game |
|
9 | new game |
35 | new game = new |
- | 36 | ; command(s) to send to setup a board (followed by a raw FEN string) |
|
10 | setup table from fen |
37 | setup table from fen = setboard |
- | 38 | ; command(s) to send to set the max search depth (followed by an integer value) |
|
11 | search depth set |
39 | search depth set = sd %d |
- | 40 | ; command(s) to send to order the engine to start playing (when switching sides) |
|
12 | play |
41 | play = go |
- | 42 | ; command(s) to send to order the engine to analyze this position |
|
13 | hint |
43 | hint = hint |
- | 44 | ; command(s) to send to order the engine to discard its last move and play a |
|
- | 45 | ; specified move instead (followed by a SAN-encoded move string) |
|
14 | force move |
46 | force move = force %s |
- | 47 | ; 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. |
|
15 | quit |
49 | quit = quit |