Bruno BELANYI
|
042f5dbc4d
|
Rename 'board::direction{s,}'
|
2024-04-01 22:20:39 +01:00 |
|
Bruno BELANYI
|
659e3f1c9a
|
Make use of 'Bitboard::is_empty'
|
2024-04-01 22:20:39 +01:00 |
|
Bruno BELANYI
|
9ef600c1bb
|
Add 'Direction::slide_{square,board}'
|
2024-04-01 22:20:39 +01:00 |
|
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 |
|