Subversion Repositories Games.Chess Giants

Rev

Rev 50 | Rev 109 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. # Chess engine configuration file for Chess Giants.
  2.  
  3. # Chess Giants is engine-agnostic, which means it can handle any CECP-compliant
  4. # engine, and virtually any state-based engine that communicates using newline-
  5. # terminated ASCII strings over standard IO (stdin/stdout). All it needs is to
  6. # read this configuration file to learn how to talk to the engine, and how to
  7. # interpret the engine's replies.
  8.  
  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.
  11. # See the "Fruit" or "Stockfish" engine configuration files for an example.
  12.  
  13. #############################
  14. # Basic program information #
  15. #############################
  16. [program]
  17.  
  18. ; program display name
  19. name = "Crafty 24.0"
  20. ; program executable
  21. executable = "crafty.exe"
  22.  
  23. #########################
  24. # Reply string patterns #
  25. #########################
  26. [reply strings]
  27.  
  28. ; the following pattern immediately precedes a SAN-encoded move reply
  29. move = "move "
  30.  
  31. ###################
  32. # Engine commands #
  33. ###################
  34. [commands]
  35.  
  36. ; command(s) to send to prepare the engine for a new game
  37. new game = "new"
  38. ; command(s) to send to setup a board (%s replaced by a raw FEN string)
  39. setup table from fen = "setboard %s"
  40. ; command(s) to send to set the max search depth (%d replaced by an integer value)
  41. search depth set = "sd %d"
  42. ; command(s) to send to order the engine to start playing (when switching sides)
  43. play = "go"
  44. ; command(s) to send to instruct the engine that its opponent played a specific
  45. ; move (%s replaced by a 'b1c3'-style encoded move string)
  46. move = "%s"
  47. ; command(s) to send to order the engine to discard its preferred move and play
  48. ; a specific move instead (%s replaced by a 'b1c3'-style encoded move string)
  49. force move = "force;undo;%s;playother"
  50. ; command(s) to send to tell the chess engine to cleanup and quit. if unset,
  51. ; its process will be killed, but at the risk of not saving important data.
  52. quit = "quit"
  53.