19 #ifndef XBOARDENGINE_H 20 #define XBOARDENGINE_H 22 #include "chessengine.h" 23 #include "board/board.h" 57 virtual void onTimeout();
66 void setForceMode(
bool enable);
70 int adaptScore(
int score)
const;
71 const QString transformMove(
const QString& str,
int height,
int shift)
const;
74 bool m_drawOnNextMove;
93 #endif // XBOARDENGINE_H virtual void sendQuit()=0
virtual void sendOption(const QString &name, const QVariant &value)=0
MoveNotation
Definition: board.h:87
virtual bool sendPing()=0
virtual void startThinking()=0
virtual void endGame(const Chess::Result &result)
Definition: chessengine.cpp:279
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:41
The result of a chess game.
Definition: result.h:34
Definition: engineoption.h:25
A chess engine which uses the Xboard chess engine communication protocol.
Definition: xboardengine.h:30
virtual bool restartsBetweenGames() const
Definition: chessengine.cpp:259
A small and efficient chessmove class.
Definition: move.h:42
virtual void startGame()=0
virtual void startProtocol()=0
virtual void parseLine(const QString &line)=0