chessfriend/moves
Eryn Wells 09bf17d66b [moves] Implement promotions and en passant in the PawnMoveGenerator
Add another sub-iterator to the PawnMoveGenerator that produces promotion pushes
or capture moves (depending on move_type) when a pawn moves to the back rank.

Also implement en passant moves.

Fix a bug in the Left and Right captures branches where the wrong neighbors used
to calculate origin squares.

Add a whole bunch of tests. Still missing several cases though.
2025-05-24 18:01:14 -07:00
..
src [moves] Implement promotions and en passant in the PawnMoveGenerator 2025-05-24 18:01:14 -07:00
tests [position, moves] Implement some castling tests 2025-05-21 08:25:49 -07:00
Cargo.toml [moves] Clean up implementation of Move and export Kind enum 2025-05-19 14:19:05 -07:00