Added A High Score Setup So The User Can Try To Beat Their High Score#7
Open
dylanguay29max wants to merge 3 commits into
Open
Added A High Score Setup So The User Can Try To Beat Their High Score#7dylanguay29max wants to merge 3 commits into
dylanguay29max wants to merge 3 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What: This PR changes the way users see their score by adding a high score system that keeps track of the user's high score and displays it. The current score is displayed in yellow to the top left, and the high score is displayed in red to the top right.
Why: This matters because the user can now keep track of their high score, instead of just memorizing it. Users can also compete with friends, adding a fun competition to the game.
Verified: I verified this by collecting one apple and then running into a wall with the snake. The next life, I then collected two apples and ran into a wall with the snake. I expected the current score to show up in yellow at the top left, and the high score to show up in red at the top right. I observed exactly what I was expecting.
Status: This PR is ready for review.