Bug 349233 - clock should stop if game is over (event if there are tiles left on the board)
Summary: clock should stop if game is over (event if there are tiles left on the board)
Status: RESOLVED FIXED
Alias: None
Product: kmahjongg
Classification: Applications
Component: general (show other bugs)
Version: 0.8
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-16 14:01 UTC by Toralf Förster
Modified: 2016-01-05 02:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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