-
Notifications
You must be signed in to change notification settings - Fork 3
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
Draw by agreement - make LegalPlayer not stuck #161
Comments
It simplifies the code but it reveals our old issue #161. Consider it as a breaking change! Don't merge to master till it's not handled.
a) If LegalPlayer offers draw before his move he should wait some time before opponent's reaction? b) if LegalPlayer offers draw after his move - no problems? c) Disallow Offer draw immediately after offer draw? |
It also can make us closer to goal of implementing #161
…es at once to another player. This will potentially allow us not only simulate Simple Player in Legal Player but also at least particularly implement #161
It might be implemented during #198 |
Probably we should redesign this issue into the following: If they just execute OFFER_DRAW it can be considered a problem of brain. They should execute it in pair with another move. |
Maybe this explanation is also relevant: http://www.talkchess.com/forum/viewtopic.php?topic_view=threads&p=582928&t=53265 |
LegalPlayer just exits in a simulation 'random vs random' when one of the opponents sends 'OFFER_DRAW'! |
Child of #154
Probably better to offer draw only after it moved?
Now if LegalPlayer offers draw it waits infinitely and doesn't execute the usual move itself.
So far disabled the special move evaluator.
The text was updated successfully, but these errors were encountered: