Added function to bb: getting least significant 1st bit index
This commit is contained in:
1 parent
b4bc91ffc2
commit
13c7bcc092
3 files changed
+23
-1
No files matched your search
@@ -18,6 +18,7 @@ public:
|
||||
void PrintBoard() const;
|
||||
|
||||
int popCount() const;
|
||||
int getLS1BIndex() const;
|
||||
|
||||
static Bitboard GetSquare(int square) {
|
||||
return (1ULL << square);
|
||||
|
||||
Reference in new issue
Block a user