colonelnugget / pychess

Automatically exported from code.google.com/p/pychess
GNU General Public License v3.0
0 stars 0 forks source link

Pause on unfocus #557

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When playing against computer player, it would be nice, if the clock was
stopped, when PyChess windows is minimized. Sometimes you may play a low
pace game against a computer player and the game may last days even weeks.
Having times of hundreds of hours looks bit special.

I like PyChess. :)

Original issue reported on code.google.com by timo.p.s...@gmail.com on 11 May 2010 at 6:47

GoogleCodeExporter commented 9 years ago

Original comment by gbtami on 2 Sep 2010 at 10:39

GoogleCodeExporter commented 9 years ago
This should be a simple matter of sending a pause offer from the human player, 
when playing against an engine and the window losses focus.
That would however require the player to manually offer a "resume", when he or 
she wants to continue.
This might actually be a good way to teach new players about the actions menu, 
but it would requie some graphical overlay on paused games.

Still, shouldn't be too hard to implement.

Original comment by lobais on 4 Sep 2010 at 1:32

GoogleCodeExporter commented 9 years ago
@timo: Thanks for the report.
If you'd like to give the solution a shot yourself, don't hesitate to ask for 
assistance.

Cheers, Thomas

Original comment by lobais on 4 Sep 2010 at 1:34

GoogleCodeExporter commented 9 years ago

Original comment by gbtami on 20 Apr 2013 at 8:12

GoogleCodeExporter commented 9 years ago
We should almost certainly put up an infobar message after pausing saying:
"Game is paused."                                                               
           [Resume]  <--button

Original comment by mattgatto on 28 Jul 2013 at 3:34