Rev 32 | Rev 39 | 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 |
||
| 32 | pmbaty | 15 | name = Crafty v24.0 |
| 33 | pmbaty | 16 | ; program executable |
| 17 | executable = crafty.exe |
||
| 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 |
||
| 35 | new game = new |
||
| 36 | ; command(s) to send to setup a board (followed by a raw FEN string) |
||
| 37 | setup table from fen = setboard |
||
| 38 | ; command(s) to send to set the max search depth (followed by an integer value) |
||
| 39 | search depth set = sd %d |
||
| 40 | ; command(s) to send to order the engine to start playing (when switching sides) |
||
| 41 | play = go |
||
| 42 | ; command(s) to send to order the engine to analyze this position |
||
| 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) |
||
| 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. |
||
| 49 | quit = quit |