34b9c18ca5
Add 'Bitboard::iter_powerset'
2024-04-01 12:21:33 +01:00
a6f4e7e686
Statically assert zero-cost invariants
...
Since some or all of those invariants will come in handy to ensure we
use as little memory as possible, to maximize the speed of the move
generation later on.
2024-04-01 12:21:33 +01:00
c6916cc21a
Add 'Bitboard::{LIGHT,DARK}_SQUARES
2024-04-01 12:21:33 +01:00
63058f6c4a
Add 'Bitboard::is_empty'
2024-04-01 12:21:33 +01:00
5ef6e545f3
Add 'Bitboard::{ANTI_,}DIAGONAL'
2024-04-01 12:21:33 +01:00
93d5fe97ed
Add 'Bitboard::count'
2024-04-01 12:21:33 +01:00
d8f4057a8c
Introduce 'Bitboard::ALL'
2024-03-29 01:06:14 +00:00
1235e4a51c
Add bitboard iteration
...
Introduce 'BitboardIterator', use it to implement 'IntoIterator' for
'Bitboard'.
2024-03-29 01:06:14 +00:00
afec72d646
Move 'board::bitboard' into folder module
...
I will be adding a 'BitboardIterator' type, and it makes more sense to
use a folder for this module at this point.
2024-03-29 01:06:14 +00:00