benzene-vanilla-cmake
benzene-vanilla-cmake copied to clipboard
Fix a bug affecting parallelogram boards.
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.