fixed bugs in hashKey generation + added incremental updates to it

This commit is contained in:
rektdie committed 2024-07-08 18:06:11 +02:00
1 parent 436f2d7164
commit 2e984643c0
5 files changed
+58 -16

No files matched your search

+3 -1
View File
@@ -24,7 +24,9 @@ public:
int fullMoves = 0;
uint8_t castlingRights = 0;
int enPassantTarget;
int enPassantTarget = -1;
U64 hashKey = 0ULL;
void Init();
void Reset();