Commit graph

4 commits

Author SHA1 Message Date
Bruno BELANYI 251c10cbc7 Add 'Direction::move_square' 2024-04-01 22:20:39 +01:00
Bruno BELANYI 1ab024fce8 Add 'Direction::iter_{rook,bishop,royalty,knight}' 2024-04-01 22:20:39 +01:00
Bruno BELANYI 924689ec02 Add 'Direction::move_board'
Encapsulates the way to move a piece on a board, avoiding the need to
mask and shift by hand.
2024-04-01 22:20:39 +01:00
Bruno BELANYI b840bfc570 Add 'board::Direction' enum 2024-04-01 22:20:39 +01:00