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

Fix application of the fifty-move rule #10

Merged
merged 1 commit into from
Mar 21, 2022
Merged

Fix application of the fifty-move rule #10

merged 1 commit into from
Mar 21, 2022

Conversation

nextchessmove
Copy link
Contributor

Here's my first stab at it.

I wasn't sure the best way to exercise is_rule50/1, so I ended up testing it via. :binbo.move/2 in the same way the existing tests test for stalemate.

Let me know if I'm way off, or if there's anything at all you would have done differently!

@DOBRO DOBRO merged commit 90b0565 into DOBRO:master Mar 21, 2022
@DOBRO
Copy link
Owner

DOBRO commented Mar 21, 2022

Good stab! PR accepted, thanks!

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