Skip to content

Conversation

@Heiaha
Copy link

@Heiaha Heiaha commented Jun 20, 2022

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.

@nkarve
Copy link
Owner

nkarve commented Jun 24, 2022

Hi, thanks for the bug fix! I'll take a look at this and get back to you in a couple of days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants