Rev 40 | Rev 44 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | pmbaty | 1 | # Chess engine configuration file for Chess Giants. |
32 | pmbaty | 2 | |
33 | pmbaty | 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 | ############################# |
||
12 | [program] |
||
13 | |||
14 | ; program display name |
||
40 | pmbaty | 15 | name = "Crafty v24.0" |
33 | pmbaty | 16 | ; program executable |
40 | pmbaty | 17 | executable = "crafty.exe" |
33 | pmbaty | 18 | |
19 | ######################### |
||
20 | # Reply string patterns # |
||
21 | ######################### |
||
22 | [reply strings] |
||
23 | |||
24 | ; the following pattern immediately precedes a SAN-encoded move reply |
||
25 | move = "): " |
||
26 | ; the following pattern immediately precedes a hint reply |
||
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 |
||
40 | pmbaty | 35 | new game = "new" |
33 | pmbaty | 36 | ; command(s) to send to setup a board (followed by a raw FEN string) |
40 | pmbaty | 37 | setup table from fen = "setboard %s" |
33 | pmbaty | 38 | ; command(s) to send to set the max search depth (followed by an integer value) |
40 | pmbaty | 39 | search depth set = "sd %d" |
33 | pmbaty | 40 | ; command(s) to send to order the engine to start playing (when switching sides) |
40 | pmbaty | 41 | play = "go" |
33 | pmbaty | 42 | ; command(s) to send to order the engine to analyze this position |
40 | pmbaty | 43 | hint = "hint" |
42 | pmbaty | 44 | ; 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) |
||
40 | pmbaty | 46 | force move = "force %s" |
33 | pmbaty | 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. |
||
40 | pmbaty | 49 | quit = "quit" |