From 1b006985ba2381a29dd9aa34aec1dafbae224897 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 31 Jul 2026 20:27:02 +0200 Subject: using cpp check on this project --- src/zobrist.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/zobrist.hpp (limited to 'src/zobrist.hpp') diff --git a/src/zobrist.hpp b/src/zobrist.hpp new file mode 100644 index 0000000..575d912 --- /dev/null +++ b/src/zobrist.hpp @@ -0,0 +1,11 @@ +#pragma once +#include "board/board.hpp" +#include + +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); -- cgit v1.2.3