added operator overloading to Bitboard class
This commit is contained in:
1 parent
f6c2b6a881
commit
4d8a7f6a2e
5 files changed
+77
-45
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user