Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logic to end screen text #65

Open
LinKCoding opened this issue Dec 30, 2019 · 0 comments
Open

Add logic to end screen text #65

LinKCoding opened this issue Dec 30, 2019 · 0 comments
Labels
good first issue Good for newcomers. Hop onboard! status: accepting prs If you can resolve this issue, please send a PR! type: cleanup Technical debt, testing, or similar improvements

Comments

@LinKCoding
Copy link
Collaborator

Currently, when a player hits the end screen they'll always see the text: "So Close!".

There should be some logical check for how the current score compares to the existing high score (if it exists at all) and display matching text.
For instance:
If the scores match ("Wow! Same high score!")
If a new high score ("Amazing, new high score!")
If less than high score ("So Close!") or ("Maybe next time")

The text can also be randomly chosen from an array of possible sayings.

@LinKCoding LinKCoding added status: accepting prs If you can resolve this issue, please send a PR! good first issue Good for newcomers. Hop onboard! type: cleanup Technical debt, testing, or similar improvements labels Dec 30, 2019
kailinwei added a commit to kailinwei/40Phaser that referenced this issue Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers. Hop onboard! status: accepting prs If you can resolve this issue, please send a PR! type: cleanup Technical debt, testing, or similar improvements
Projects
None yet
Development

No branches or pull requests

1 participant