Closed suhynnoh closed 2 weeks ago
It has been opened as draft pr, so I haven't checked the commit yet. I'll check out it when the conflicts are resolved and the review is ready.
It has been opened as draft pr, so I haven't checked the commit yet. I'll check out it when the conflicts are resolved and the review is ready.
Understood. I will leave a comment once the conflicts are resolved and the review is ready.
It has been opened as draft pr, so I haven't checked the commit yet. I'll check out it when the conflicts are resolved and the review is ready.
The conflicts have been resolved, and the pull request is now open for review.
What
This PR includes improvements to the currency system, the addition of gem currency, the implementation of a round settlement screen, and the application of currency encryption. Key changes are as follows:
currency
file and implemented related methods (saveGem
,loadGem
,loadDefaultGem
).GameState
class.RoundState
(from game-level to round-level settlement).ReceiptScreen
andScoreScreen
classes to display information during rounds and at game end.Why
This PR aims to improve the game's currency system and enhance security, thus improving overall gameplay quality.
How to Test
Screenshots
This screenshot displays the "Receipt Screen" after a round. It shows:
STAGE SCORE
andTOTAL SCORE
to indicate the player's performance.Displays the total coins earned during the game (
EARNED $624 COINS!
).Additional Information
GameState.playTime
andRoundState.roundTime
.loadGem
andsaveGem
have been tested internally as they are not yet linked to other functions.