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. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |