23 #include <QStringList> 27 #include "board/result.h" 28 #include "board/move.h" 29 #include "timecontrol.h" 30 #include "gameadjudicator.h" 32 namespace Chess {
class Board; }
50 bool isFinished()
const;
51 bool boardShouldBeFlipped()
const;
52 void setBoardShouldBeFlipped(
bool flip);
61 void setError(
const QString& message);
63 void setStartingFen(
const QString& fen);
67 bool setMoves(
const PgnGame& pgn);
72 void setStartDelay(
int time);
73 void setBookOwnership(
bool enabled);
75 void generateOpening();
84 void stop(
bool emitMoveChanged =
true);
86 void emitStartFailed();
90 void humanEnabled(
bool);
91 void fenChanged(
const QString& fenString);
95 void moveChanged(
int ply,
99 void scoreChanged(
int ply,
int score);
103 void startFailed(
ChessGame* game =
nullptr);
111 void onPlayerReady();
118 void initializePgn();
129 bool m_gameInProgress;
131 bool m_pgnInitialized;
132 bool m_bookOwnership;
133 bool m_boardShouldBeFlipped;
145 #endif // CHESSGAME_H Time controls of a chess game.
Definition: timecontrol.h:34
A chess player, human or AI.
Definition: chessplayer.h:37
Evaluation data for a chess move.
Definition: moveevaluation.h:34
An internal chessboard class.
Definition: board.h:56
A game of chess in PGN format.
Definition: pgngame.h:51
Definition: chessgame.h:38
A chess move independent of chess variant or opening book format.
Definition: genericmove.h:33
Definition: boardscene.h:28
The side or color of a chess player.
Definition: side.h:34
The result of a chess game.
Definition: result.h:33
A class for adjudicating chess games.
Definition: gameadjudicator.h:31
A small and efficient chessmove class.
Definition: move.h:41
A collection of opening moves for chess.
Definition: openingbook.h:42