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

[Bug] Judge forbidden move in freestyle mode #1

Open
dhbloo opened this issue Dec 21, 2018 · 1 comment
Open

[Bug] Judge forbidden move in freestyle mode #1

dhbloo opened this issue Dec 21, 2018 · 1 comment

Comments

@dhbloo
Copy link

dhbloo commented Dec 21, 2018

When black made a overline in freestyle mode, it was considered as a forbidden move.
The bug can be reproduced by this psq file:

Piskvorky 20x20, 0:0, 0
2,10,0
5,10,0
6,11,1
7,9,0
6,10,1
8,8,884
6,8,2506
7,7,784
6,7,696
9,10,560
6,12,1379
17,5,2470
-1
@dhbloo
Copy link
Author

dhbloo commented Dec 22, 2018

It seems that the condition of line 1315 in file game.cpp should be changed from

if (!f)

to

if (!f || ruleFive != 2)

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

No branches or pull requests

1 participant