Subversion Repositories Games.Chess Giants

Rev

Rev 137 | Rev 154 | 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. # Here is an example of how a UCI engine can be used with Chess Giants thanks
  12. # to the Polyglot protocol converter (see also the polyglot.ini file).
  13.  
  14. #############################
  15. # Basic program information #
  16. #############################
  17. [program]
  18.  
  19. ; program display name
  20. name = "Toga II 1.3.4"
  21. ; program executable
  22. executable = "polyglot.exe"
  23. ; optional program arguments
  24. arguments = ""
  25.  
  26. #########################
  27. # Reply string patterns #
  28. #########################
  29. [reply strings]
  30.  
  31. ; the following pattern immediately precedes a SAN-encoded move reply
  32. move = "move "
  33.  
  34. ###################
  35. # Engine commands #
  36. ###################
  37. [commands]
  38.  
  39. ; command(s) to send to prepare the engine for a new game
  40. new game = "new"
  41. ; command(s) to send to setup a board (%s replaced by a raw FEN string)
  42. setup table from fen = "setboard %s"
  43. ; command(s) to send to set the max search depth (%d replaced by an integer value)
  44. search depth set = "sd %d"
  45. ; command(s) to send to order the engine to start playing (when switching sides)
  46. play = "go"
  47. ; command(s) to send to instruct the engine that its opponent played a specific
  48. ; move (%s replaced by a 'b1c3'-style encoded move string)
  49. move = "%s"
  50. ; command(s) to send to order the engine to discard its preferred move and play
  51. ; a specific move instead (%s replaced by a 'b1c3'-style encoded move string)
  52. force move = "force;undo;%s;playother"
  53. ; command(s) to send to tell the chess engine to cleanup and quit. if unset,
  54. ; its process will be killed, but at the risk of not saving important data.
  55. quit = "quit"
  56.