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 372647 - glchess should provide more feedback to the user
glchess should provide more feedback to the user
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: glchess
2.17.x
Other Linux
: Normal enhancement
: gnome-2-22
Assigned To: GNOME Games maintainers
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2006-11-08 20:30 UTC by Andreas Røsdal
Modified: 2008-07-20 03:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
Enables user selectable move format and notifies game end (47.27 KB, patch)
2007-02-11 03:37 UTC, Robert Ancell
none Details | Review

Description Andreas Røsdal 2006-11-08 20:30:51 UTC
To improve the usability of glChess, I have these suggestions about giving more feedback to the user during the game:

- Feedback about the game state, such as messages indicating who won or lost. 

- Give errors messages when user tries to perform illegal moves, such as "Can not move the queen because the king is under attack from a horse".

- Indicate the currently active player somehow.

- Mouse cursors indicating 'waiting for AI', 'illegal move' etc.
Comment 1 Nickolay V. Shmyrev 2006-11-18 12:20:21 UTC
And probably there no sense to have "End game" button and "End game" state. Then toolbar will have place to fit everything including bottom toolbar-like buttons.
Comment 2 Benjamin Woods 2006-12-21 12:51:35 UTC
I agree with both the initial bug and Nickolay's comment.

The new game button should automatically overwrite the current game, rather than having 2 games open IMHO. Who plays 2 games of chess at once?

And I am never sure if I have been beaten... I used to click each piece to see where it could move and when none could move I knew I had lost. Then I realised you can check it in "AI Information"... but a pop-up saying "LOSER" would be much better (can you tell I haven't won yet?).
Comment 3 Andreas Røsdal 2006-12-26 10:06:51 UTC
If this bugreport something which can be fixed before the string freeze begins?

In particular, it's pretty important to show a message when the game has been won or lost. PyChess already has this feature, which code probably can be borrowed from.
Comment 4 Andreas Røsdal 2007-01-28 19:15:32 UTC
I have committed some strings to indicate check and checkmate.

It seems that glChess has no idea if a game ends in a draw?
Comment 5 Andreas Røsdal 2007-01-28 19:18:00 UTC
Note that this is only a temporary solution. In the next version, I think it would be nice if the user could choose between algebraic chess notation, and regular human-readable status messages on the statusbar.
Comment 6 Robert Ancell 2007-02-10 03:19:06 UTC
The sourceforge version of glChess now has support for human readable, SAN and LAN move formats. Will port for 2.18.1
Comment 7 Andreas Røsdal 2007-02-10 08:14:52 UTC
The human readable format would have to be 

- committed to SVN now, and announce the string and UI change
- committed to the 2.19.1 version, after 2.18.x has been released.

The 2.18.1 also has the same freezes as 2.18.0, such as a string and UI freeze forever. So you can't port it to that one. 
See: http://live.gnome.org/TwoPointSeventeen - 2.18.0: "Hard Code Freeze ends, but other freezes remain in effect for the stable branch."

I think this would be pretty useful, and could probably be committed now.
Comment 8 Robert Ancell 2007-02-11 03:37:41 UTC
Created attachment 82308 [details] [review]
Enables user selectable move format and notifies game end
Comment 9 Robert Ancell 2007-02-11 03:40:06 UTC
OK I've added the patch. It seems to work fine (I can't build gnome-games properly anymore as something has changed in the build process). I would commit it now but the release schedule requires release-team approval (since there are UI changes).

I don't have anymore time to work on it today so if your happy Andreas it meets the release schedule then I suggest you commit it. I think it gives a lot better feedback to the users.
Comment 10 Robert Ancell 2007-02-11 03:41:24 UTC
(I can do it during the week but we'll need l10n team approval from tomorrow)
Comment 11 Andreas Røsdal 2007-02-13 05:57:19 UTC
Delaying this until 2.20.x, because the release-team haven't responded yet.
Comment 12 Gergely Máté 2008-02-28 23:13:06 UTC
Audio notifications (and/or some kind notification pop-ups) would allow players to switch tasks while playing, and switch back to glChess when the computer had made a move.

This has meaning when someone plays with a time-limit set.
Comment 13 Robert Ancell 2008-07-20 03:26:38 UTC
State of this bug:

- Feedback about the game state, such as messages indicating who won or lost. 
FIXED

- Give errors messages when user tries to perform illegal moves, such as "Can
not move the queen because the king is under attack from a horse".
The move highlighting hints at this

- Indicate the currently active player somehow.
- Mouse cursors indicating 'waiting for AI', 'illegal move' etc.
See bug #443449

Closing.