Closed tasanuma closed 5 years ago
When en passant occurs and King is attacked by the en passant target pawn, illegal moves are generated as if any opposite piece can capture the pawn. Only opposite pawn move should be generated.
Hi @tasanuma. Thank you for the bug fix. It's already available in version 1.1.11.
Thanks for merging and releasing it!
When en passant occurs and King is attacked by the en passant target pawn, illegal moves are generated as if any opposite piece can capture the pawn. Only opposite pawn move should be generated.