Instead of generating e.p. moves in a separate pass, check whether each capture move (left and right) targets the en passant square. If so, yield an e.p. capture otherwise just a regular capture. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |
Instead of generating e.p. moves in a separate pass, check whether each capture move (left and right) targets the en passant square. If so, yield an e.p. capture otherwise just a regular capture. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |