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

Bugfix: Draw by repetition again #49

Merged
merged 2 commits into from
Sep 21, 2024
Merged

Conversation

bsamseth
Copy link
Owner

The previous fix for repetition checks included a bug once the ply count exceeded 128, where the code would lose track
of where in the stack states it was supposed to look. The fix ensures the stack states are as expected. The repetition check then works as intended. Included is a new test case with one of the regression that was observed from live games.

This should close #46, and maybe also #48.

The previous fix included a bug once the ply count exceeded `128`, where the code would lose track
of where in the stack states it was supposed to look. The fix ensures the stack states are as
expected. The repetition check then works as intented. Included is a new test case with one of the
regression that was observed from live games.
@bsamseth bsamseth merged commit 9f4b166 into main Sep 21, 2024
2 checks passed
@bsamseth bsamseth deleted the bug/draw-by-repetition-strikes-back branch September 21, 2024 06:59
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.

Three-fold-repetition again
1 participant