diff options
| author | Adam <adammegarules1@gmail.com> | 2026-07-29 20:11:40 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-07-29 20:11:40 +0200 |
| commit | d528a20684570fb70f0e6b13a78bc6504a1edd89 (patch) | |
| tree | b227cab63e05ce3f2063b2298fd8c553f1a90fe4 /src/zobrist/zobrist.hpp | |
| parent | 43a8816a7c56096d974689e42f7f6f110d28d408 (diff) | |
adding testing new folder structer
Diffstat (limited to 'src/zobrist/zobrist.hpp')
| -rw-r--r-- | src/zobrist/zobrist.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/zobrist/zobrist.hpp b/src/zobrist/zobrist.hpp new file mode 100644 index 0000000..8de9d42 --- /dev/null +++ b/src/zobrist/zobrist.hpp @@ -0,0 +1,11 @@ +#pragma once +#include "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]; + +void InitZobrist(); +uint64_t GenerateZobristKey(Game *b); |
