Commit graph

1 commit

Author SHA1 Message Date
7b0469d689 [bitboard] Replace separate methods for leading and trailing iteration
Add chessfriend_bitboard::IterationDirection
Make BitBoard::occupied_squares() take an IterationDirection and return an iterator
corresponding to the direction.
Do the same for ::first_occupied_square().
2025-05-02 14:28:31 -07:00