diff options
| author | Adam <adammegarules1@gmail.com> | 2026-08-17 20:01:05 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-08-17 20:01:05 +0200 |
| commit | c5891a499f180da91aa14ad7273f00092a7b3e45 (patch) | |
| tree | 4af50ef60979368a298940732e86c9ea7786c2c4 /src/zobrist.hpp | |
| parent | 11e2da3df8a4bf598f630dbad8bb666047c22bce (diff) | |
adding zobrist hashing
Diffstat (limited to 'src/zobrist.hpp')
| -rw-r--r-- | src/zobrist.hpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/zobrist.hpp b/src/zobrist.hpp index 575d912..e23facf 100644 --- a/src/zobrist.hpp +++ b/src/zobrist.hpp @@ -1,11 +1,7 @@ #pragma once -#include "board/board.hpp" #include <cstdint> -extern uint64_t PieceKeys[2][7][64]; -extern uint64_t SideKey; -extern uint64_t CastleKeys[16]; -extern uint64_t EnPassantKeys[8]; +struct Game; void InitZobrist(); uint64_t GenerateZobristKey(Game *b); |
