added operator overloading to Bitboard class

This commit is contained in:
rektdie committed 2024-05-15 00:54:46 +02:00
1 parent f6c2b6a881
commit 4d8a7f6a2e
5 files changed
+77 -45

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ static int GetPositionalScore(Board &board, int type, int color) {
Bitboard pieces = board.pieces[type] & board.colors[color];
while (pieces.GetBoard()) {
while (pieces) {
int square = pieces.getLS1BIndex();
// White