Added popCount function to bitboards

This commit is contained in:
rektdie committed 2024-03-03 21:28:39 +01:00
1 parent f7d65e8af8
commit b4bc91ffc2
3 files changed
+17 -3

No files matched your search

+2
View File
@@ -17,6 +17,8 @@ public:
void SetBit(int square);
void PrintBoard() const;
int popCount() const;
static Bitboard GetSquare(int square) {
return (1ULL << square);
};