benzene-vanilla-cmake icon indicating copy to clipboard operation
benzene-vanilla-cmake copied to clipboard

Fix a bug affecting parallelogram boards.

Open selinger opened this issue 9 months ago • 0 comments

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.

selinger avatar May 04 '24 18:05 selinger