19 #ifndef XBOARDENGINE_H 20 #define XBOARDENGINE_H 22 #include "chessengine.h" 23 #include "board/board.h" 25 using XboardFeature = std::pair<QString, QString>;
68 virtual void onTimeout();
75 void setForceMode(
bool enable);
79 int adaptScore(
int score)
const;
80 const QString transformMove(
const QString& str,
int height,
int shift)
const;
83 bool m_drawOnNextMove;
102 #endif // XBOARDENGINE_H virtual void sendQuit()=0
virtual void sendOption(const QString &name, const QVariant &value)=0
Evaluation data for a chess move.
Definition: moveevaluation.h:35
MoveNotation
Definition: board.h:86
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:42
The result of a chess game.
Definition: result.h:34
virtual bool restartsBetweenGames() const
Definition: chessengine.cpp:259
Definition: engineoption.h:25
A chess engine which uses the Xboard chess engine communication protocol.
Definition: xboardengine.h:32
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