Skip to content

Add stars currency#71

Merged
thanhnhatquangmai merged 8 commits intocurrency-system-featurefrom
currency/stars-feature
Sep 16, 2025
Merged

Add stars currency#71
thanhnhatquangmai merged 8 commits intocurrency-system-featurefrom
currency/stars-feature

Conversation

@jeariver
Copy link
Contributor

@jeariver jeariver commented Sep 16, 2025

Description

This request implements a meta currency (stars), by adding a GameStateService to handle persistent data. Stars are currently incremented on level clear, and are displayed on the main menu. Stars are cleared on new game, but are preserved when continuing.

Fixes / Closes (#59)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

  • New feature (non-breaking change which adds functionality)

  • This change requires a documentation update

How Has This Been Tested?

  • test/com.csse3200.game/services/GameStateServiceTest tests the implementation of updating stars

Checklist:

  • My code follows the style guidelines of this project

  • I have performed a self-review of my code

  • I have commented my code, particularly in hard-to-understand areas

  • I have made corresponding changes to the documentation

  • My changes generate no new warnings

  • I have added tests that prove my fix is effective or that my feature works

  • New and existing unit tests pass locally with my changes

  • Any dependent changes have been merged and published in downstream modules

@thanhnhatquangmai thanhnhatquangmai merged commit 91a3dbd into currency-system-feature Sep 16, 2025
2 checks passed
@MinhQuocLe MinhQuocLe deleted the currency/stars-feature branch October 8, 2025 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants