Revert "encapsulated positionIndex and moved isdraw to board class"

This reverts commit aa0d34eb8e.
This commit is contained in:
rektdie committed 2025-04-12 10:59:04 +02:00
1 parent 3275cee01e
commit ce01c7756b
7 files changed
+41 -35

No files matched your search

+1 -4
View File
@@ -10,6 +10,7 @@ constexpr int noEPTarget = -1;
constexpr int MAX_MOVES = 218;
inline int positionIndex = 0;
inline U64 positionHistory[1000];
class Board {
@@ -39,8 +40,6 @@ public:
int halfMoves = 0;
int fullMoves = 1;
int positionIndex = 0;
U64 hashKey = 0ULL;
void Reset();
@@ -67,6 +66,4 @@ public:
bool MakeMove(Move move);
bool InPossibleZug();
bool IsDraw();
};