3 ms·
Not just bishops, also rooks (and queens). Magic bitboards are awesome. Here's my implementation: https://github.com/fogleman/MisterQueen/blob/master/src/bb.c
by fogleman 8y ago
Not just bishops, also rooks (and queens).
Magic bitboards are awesome. Here's my implementation:
https://github.com/fogleman/MisterQueen/blob/master/src/bb.c#L275-L289 https://github.com/fogleman/MisterQueen/blob/master/src/bb.c...