Commit graph

7 commits

Author SHA1 Message Date
77b15edc36 Don't return 'Bitboard' from 'Square::{file,rank}' 2022-07-17 21:26:03 +02:00
bb04368f41 Add 'File' enum 2022-07-16 14:41:07 +02:00
4eff49f367 Add 'Rank' enum 2022-07-16 14:41:07 +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
755e891b17 Add 'Bitboard' and 'Square' definitions 2022-07-16 14:41:07 +02:00