Bug 434 - Incorrect game speed caused by inappropriate refactor.
Summary: Incorrect game speed caused by inappropriate refactor.
Status: RESOLVED FIXED
Alias: None
Product: Group16_Tetris Fighter
Classification: Unclassified
Component: GameController (show other bugs)
Version: V2
Hardware: All All
: --- enhancement
Assignee: Ashley
URL:
Depends on:
Blocks: 454
  Show dependency tree
 
Reported: 2020-11-22 15:51 HKT by Ashley
Modified: 2020-11-24 22:37 HKT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ashley 2020-11-22 15:51:45 HKT
Improper modification during refactoring prevents the speed from increasing with acceleration. 

Specifically, a variable speed is set in the GameController to record the current speed that changes with acceleration. However, this speed was deleted, so every time the speed will be assigned with the initial value from its level, instead of the correct speed that has changed by the acceleration.
Comment 1 Ashley 2020-11-24 22:11:25 HKT
(In reply to Ashley from comment #0)
> Improper modification during refactoring prevents the speed from increasing
> with acceleration. 
> 
> Specifically, a variable speed is set in the GameController to record the
> current speed that changes with acceleration. However, this speed was
> deleted, so every time the speed will be assigned with the initial value
> from its level, instead of the correct speed that has changed by the
> acceleration.

a test reply