ChessGame.h 529 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef CHESSY_CHESSGAME_H
  2. #define CHESSY_CHESSGAME_H
  3. #include "Board.h"
  4. namespace chessy
  5. {
  6. class ChessGame;
  7. }
  8. class chessy::ChessGame
  9. {
  10. Board board;
  11. bool canCastleQueenSideWhite;
  12. bool canCastleQueenSideBlack;
  13. bool canCastleKingSideWhite;
  14. bool canCastleKingSideBlack;
  15. short reversibleHalfMoves;
  16. char enPassantWhite;
  17. char enPassantBlack;
  18. public:
  19. ChessGame(void) = default;
  20. ChessGame(const ChessGame&) = default;
  21. ~ChessGame(void) = default;
  22. };
  23. #endif // CHESSY_CHESSGAME_H