| Summary: | Incorrect game speed caused by inappropriate refactor. | ||
|---|---|---|---|
| Product: | Group16_Tetris Fighter | Reporter: | Ashley <tecchk.cy> |
| Component: | GameController | Assignee: | Ashley <tecchk.cy> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | lfeng23-c |
| Priority: | --- | ||
| Version: | V2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Bug Depends on: | |||
| Bug Blocks: | 454 | ||
|
Description
Ashley
2020-11-22 15:51:45 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 |