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 705956 - Player to move not considered in check for threefold repetition
Player to move not considered in check for threefold repetition
Status: RESOLVED FIXED
Product: gnome-chess
Classification: Applications
Component: General
3.9.x
Other Linux
: Normal normal
: ---
Assigned To: Michael Catanzaro
gnome-chess-maint
Depends on:
Blocks:
 
 
Reported: 2013-08-14 02:30 UTC by Michael Catanzaro
Modified: 2013-08-20 00:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Player on move should be considered in check for threefold repetition (1.68 KB, patch)
2013-08-20 00:23 UTC, Michael Catanzaro
committed Details | Review

Description Michael Catanzaro 2013-08-14 02:30:18 UTC
From Adam Dingle's report in Bug #703841c19

(In reply to comment #19)
> There seems to be one more bug.  Note that whether a position is repeated
> should also be determined by whose move it is.  To see the problem, start a
> human-versus-human game and play these moves:
> 
> 1. d4 d5; 2. Qd3 Qd6; 3. Qd2 Qd8; 4. Qd1 Qd6; 5. Qd3 Qd7; 6. Qd1 Qd8; 7. Qd3
> Qd6; 8. Qd2 Qd8; 9. Qd1.
> 
> Now, as Black, press Claim Draw.  The claim will succeed, even though this
> position has occurred only once before with Black to move, namely after 4. Qd1.
Comment 1 Michael Catanzaro 2013-08-20 00:23:29 UTC
The following fix has been pushed:
eab2910 Player on move should be considered in check for threefold repetition
Comment 2 Michael Catanzaro 2013-08-20 00:23:31 UTC
Created attachment 252325 [details] [review]
Player on move should be considered in check for threefold repetition

The rule is that everything is the same *with the same player to move*