Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid FEN if more than one king of the same color #306

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

linrock
Copy link
Contributor

@linrock linrock commented Dec 25, 2021

Updates validate_fen to consider a FEN invalid if there's more than one white king or more than one black king.

Fixes #283

@ianasheu
Copy link

ianasheu commented Feb 2, 2022

i write a castling validation if you want to add on your pull request

@snk-js
Copy link

snk-js commented Jun 4, 2023

solved in #414

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.

Should not accept fen with two white kings
3 participants