After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 705011 - Accept CECP draw claims from engines
Accept CECP draw claims from engines
Status: RESOLVED FIXED
Product: gnome-chess
Classification: Applications
Component: General
3.9.x
Other Linux
: Normal critical
: ---
Assigned To: gnome-chess-maint
gnome-chess-maint
Depends on:
Blocks:
 
 
Reported: 2013-07-28 01:21 UTC by Michael Catanzaro
Modified: 2013-08-25 17:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Handle draw offers from engines (3.48 KB, patch)
2013-08-25 17:50 UTC, Michael Catanzaro
committed Details | Review

Description Michael Catanzaro 2013-07-28 01:21:49 UTC
We need to parse:

0-1
1-0
1/2-1/2
Draw
draw
game is a draw
offer draw

Otherwise, the game could appear to hang if the engine thinks the game is over but the human player did not hit Claim Draw.
Comment 1 Michael Catanzaro 2013-08-25 17:50:29 UTC
The following fix has been pushed:
e7b0c9d Handle draw offers from engines
Comment 2 Michael Catanzaro 2013-08-25 17:50:31 UTC
Created attachment 253067 [details] [review]
Handle draw offers from engines

This is essential because an engine will likely refuse to play on if it
claims a valid draw and we ignore it.