|
@@ -22,8 +22,12 @@ class chessy::ChessGame
|
|
|
|
|
|
short reversibleHalfMoves = 0;
|
|
short reversibleHalfMoves = 0;
|
|
|
|
|
|
- Index enPassantWhite = -1;
|
|
|
|
- Index enPassantBlack = -1;
|
|
|
|
|
|
+ Index enPassantRow = -1;
|
|
|
|
+ char turn = 0;
|
|
|
|
+
|
|
|
|
+ const static char WHITE = 0;
|
|
|
|
+ const static char BLACK = 1;
|
|
|
|
+
|
|
|
|
|
|
public:
|
|
public:
|
|
ChessGame(void) = default;
|
|
ChessGame(void) = default;
|