From c9d9bddf3df97ef7987c9824747ec1602522b542 Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Sat, 18 Jul 2026 18:45:15 +0530 Subject: zobrist hashing --- include/bitboard.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/bitboard.h') diff --git a/include/bitboard.h b/include/bitboard.h index 3e1118d..b1ddcf0 100644 --- a/include/bitboard.h +++ b/include/bitboard.h @@ -27,11 +27,13 @@ enum { WHITE_LONG_CASTLE = 1 << 1, BLACK_SHORT_CASTLE = 1 << 2, BLACK_LONG_CASTLE = 1 << 3, + CASTLE_COUNT = 4, }; enum { WHITE_TURN, BLACK_TURN, + TURN_COUNT, }; #define BITMASK_RANK_1 255ULL -- cgit v1.2.3