Bug 349 - Remaining time returned by timer after a successful play is not correct
Summary: Remaining time returned by timer after a successful play is not correct
Status: RESOLVED FIXED
Alias: None
Product: Limited Linking Kindergarten
Classification: Unclassified
Component: Timer (show other bugs)
Version: V2.0
Hardware: PC Windows
: Normal major
Assignee: Sun Chengyu
URL:
Depends on:
Blocks:
 
Reported: 2019-12-05 14:10 HKT by qihuadong2-c
Modified: 2019-12-05 14:27 HKT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qihuadong2-c 2019-12-05 14:10:06 HKT
Steps to reproduce:
1. Run main game
2. Enter game with a player name and randomly select game size from setting
3. Finish game quickly or stay until time runs out

Actual result:
The score calculated excluding scores earned from canceled grids does not match the remaining time of timer.

Expected result:
The score calculated excluding scores earned from canceled grids should be proportional to the remaining time of timer.
Comment 1 Sun Chengyu 2019-12-05 14:12:59 HKT
This issue has been confirmed on Eclipse version: 2019-06 (4.12.0), Build id: 20190614-1200 on Windows 10. Fixing in progress.
Comment 2 Sun Chengyu 2019-12-05 14:27:07 HKT
This issue has been fixed by updating method getRemainingTime() for class Timer from GUI.Timer. Previously it could not collaborate correctly with TimerThread to get elapsed time to calculate remaining time.