From f2567c0e5bc9b68b6b3d7769df0b8af57056f1db Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 2 Aug 2026 16:58:00 +0200 Subject: Adding bitboards and building them --- src/board/board.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/board/board.hpp') diff --git a/src/board/board.hpp b/src/board/board.hpp index e754991..50d38ed 100644 --- a/src/board/board.hpp +++ b/src/board/board.hpp @@ -55,8 +55,7 @@ struct Game { uint64_t PieceBitboard = 0; // used for quicly iterating over all squares uint64_t WhitePieceBitboard = 0; uint64_t BlackPieceBitboard = 0; - uint8_t WhiteKingPosition = 0; - uint8_t BlackKingPosition = 0; + uint64_t PieceBitboards[2][7] = {}; bool turn = true; // 1 white; 0 black bool whiteCastleKing = false; bool whiteCastleQueen = false; -- cgit v1.2.3