summaryrefslogtreecommitdiff
path: root/include/bitboard.h
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2026-07-18 18:45:15 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2026-07-18 18:45:15 +0530
commitc9d9bddf3df97ef7987c9824747ec1602522b542 (patch)
tree449acf383fb10ccf2210d9af96515275b52cf1a9 /include/bitboard.h
parent9395e857db95481f6e2494d3a841632be0ff97c8 (diff)
zobrist hashing
Diffstat (limited to 'include/bitboard.h')
-rw-r--r--include/bitboard.h2
1 files changed, 2 insertions, 0 deletions
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