5#define POP(b) popLSB(b)
6#define CNT(b) countSetBits(b)
void printBitBoard(U64 bb)
Prints a visual representation of a bitboard to stdout.
const int BitTable[64]
Lookup table for bit index extraction.
int popLSB(U64 *bb)
Pops the least significant 1-bit from a bitboard and returns its index (0–63).
int countSetBits(U64 b)
Counts the number of 1-bits in a bitboard.