Browse Source

some changes

nicolaswinkler 8 years ago
parent
commit
9ba794c960
1 changed files with 6 additions and 2 deletions
  1. 6 2
      src/ChessGame.h

+ 6 - 2
src/ChessGame.h

@@ -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;