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 a bug affecting parallelogram boards. #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

selinger
Copy link

@selinger selinger commented May 4, 2024

When changing the board size from n x m to n x k, some of the internal board representations are not updated correctly, resulting in a bug. To reproduce:

boardsize 4 4
boardsize 4 2
play black a1
play black a2
play white b2
play white c2
showboard
dfpn-solve-state black

The answer is "white" although the position is clearly winning for Black. This pull request fixes the bug.

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.

1 participant