Implement methods that translate the internal model to x-board compatible outputs. The commands and format rules can be found in the XBoard documentation.
At minimum the following commands need to be implemented for the game to function:
Commands to the AI
Commands to XBoard
move MOVE
Error (ERRORTYPE): COMMAND
RESULT {COMMENT}
Additionally implementing the commands below would be preferable and make testing easier:
Commands to the AI
post
force + go
sd DEPTH
st TIME and/or level MPS BASE INC
result RESULT {COMMENT}
Cammands to XBoard
debug + # COMMENT
Illegal move (REASON): MOVE
telluser MESSAGE / tellusererror MESSAGE
- output for when in post mode, formated as
ply score time nodes pv
Implement methods that translate the internal model to x-board compatible outputs. The commands and format rules can be found in the XBoard documentation.
At minimum the following commands need to be implemented for the game to function:
Commands to the AI
newquitMOVECommands to XBoard
move MOVEError (ERRORTYPE): COMMANDRESULT {COMMENT}Additionally implementing the commands below would be preferable and make testing easier:
Commands to the AI
postforce+gosd DEPTHst TIMEand/orlevel MPS BASE INCresult RESULT {COMMENT}Cammands to XBoard
debug+# COMMENTIllegal move (REASON): MOVEtelluser MESSAGE/tellusererror MESSAGEply score time nodes pv