Bug 349233

Summary: clock should stop if game is over (event if there are tiles left on the board)
Product: [Applications] kmahjongg Reporter: Toralf Förster <toralf.foerster>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: kde-games-bugs
Priority: NOR    
Version: 0.8   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Toralf Förster 2015-06-16 14:01:45 UTC
no need to count further the time

Reproducible: Always
Comment 1 Frederik Schwarzer 2016-01-05 01:49:43 UTC
Git commit 6b2abed7d780990824192eb52817e28b586029de by Frederik Schwarzer.
Committed on 05/01/2016 at 01:48.
Pushed by schwarzer into branch 'master'.

Pause game timer when no more moves are possible.

M  +1    -0    kmahjongg.cpp

http://commits.kde.org/kmahjongg/6b2abed7d780990824192eb52817e28b586029de
Comment 2 Frederik Schwarzer 2016-01-05 02:31:10 UTC
Git commit 259dd8a925f716c0d787ebbd16256ec82190202f by Frederik Schwarzer.
Committed on 05/01/2016 at 02:24.
Pushed by schwarzer into branch 'master'.

Introduce new State for noMovesAvailable.

With this, it is still possible to undo moves after the game had no more
matching tiles. The player could decide to undo a few moves and try
matching tiles differently.

M  +10   -1    kmahjongg.cpp
M  +1    -1    kmahjongg.h
M  +18   -1    kmahjonggui.rc

http://commits.kde.org/kmahjongg/259dd8a925f716c0d787ebbd16256ec82190202f