Skip to content

Add logic to end screen text #65

@LinKCoding

Description

@LinKCoding

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomers. Hop onboard!status: accepting prsIf you can resolve this issue, please send a PR!type: cleanupTechnical debt, testing, or similar improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions