Commit graph

11 commits

Author SHA1 Message Date
b6fd072cad Allow some clippy warnings 2022-07-24 16:34:12 +02:00
8fdbdd1f61 Remove spurious links in 'Bitboard' documentation 2022-07-22 10:36:59 +02:00
fa68be533a Add 'Bitboard::iter_powerset' 2022-07-22 10:36:59 +02:00
66e5109157 Statically assert zero-cost invariants
All checks were successful
continuous-integration/drone/push Build is passing
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.
2022-07-18 11:05:41 +02:00
74d2a2cf6a Add 'Bitboard::{LIGHT,DARK}_SQUARES
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-18 10:01:23 +02:00
057b383f8c Add 'Bitboard::is_empty' 2022-07-18 00:33:24 +02:00
896f615bba Add 'Bitboard::{ANTI_,}DIAGONAL' 2022-07-18 00:33:24 +02:00
61e7a4e8d1 Add 'Bitboard::count' 2022-07-18 00:33:24 +02:00
41903be143 Introduce 'Bitboard::ALL' 2022-07-16 14:41:07 +02:00
3c157efe84 Add bitboard iteration
Introduce 'BitboardIterator', use it to implement 'IntoIterator' for
'Bitboard'.
2022-07-16 14:41:07 +02:00
4bc597439e 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.
2022-07-16 14:41:07 +02:00
Renamed from src/board/bitboard.rs (Browse further)