I believe the current move generation has a bug in the following type of position:
5n2/3KP3/8/8/4k3/8/8/8 w - - 0 1
If a king is checked by a knight which can be captured by a pawn to promote, the current move generation will not recognize the potential for promotion. This pull request should fix the problem.
Hi,
I believe the current move generation has a bug in the following type of position:
5n2/3KP3/8/8/4k3/8/8/8 w - - 0 1
If a king is checked by a knight which can be captured by a pawn to promote, the current move generation will not recognize the potential for promotion. This pull request should fix the problem.