18 #ifndef XBOARDENGINE_H 19 #define XBOARDENGINE_H 21 #include "chessengine.h" 22 #include "board/board.h" 56 virtual void onTimeout();
65 void setForceMode(
bool enable);
71 bool m_drawOnNextMove;
90 #endif // XBOARDENGINE_H virtual void sendQuit()=0
virtual void sendOption(const QString &name, const QVariant &value)=0
MoveNotation
Definition: board.h:86
virtual bool sendPing()=0
virtual void startThinking()=0
virtual void endGame(const Chess::Result &result)
Definition: chessengine.cpp:276
virtual void makeMove(const Chess::Move &move)=0
virtual QString protocol() const =0
virtual void sendStop()=0
An artificial intelligence chess player.
Definition: chessengine.h:40
The result of a chess game.
Definition: result.h:33
virtual bool restartsBetweenGames() const
Definition: chessengine.cpp:256
Definition: engineoption.h:24
A chess engine which uses the Xboard chess engine communication protocol.
Definition: xboardengine.h:29
A small and efficient chessmove class.
Definition: move.h:41
virtual void startGame()=0
virtual void startProtocol()=0
virtual void parseLine(const QString &line)=0