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

When game ends, show if the score is higher than previous scores. #58

Open
sohang3112 opened this issue Oct 24, 2023 · 4 comments
Open
Assignees

Comments

@sohang3112
Copy link
Contributor

This would require saving the highest score with date and time in a file. When the game ends, the high score should be shown, with a special message if the current score breaks previous high score.

@mevdschee
Copy link
Owner

There have been many proposals for high scores already. The file needs to be stored in some (standard) location, which is the biggest problem.

@mevdschee mevdschee self-assigned this Oct 24, 2023
@sohang3112
Copy link
Contributor Author

The file needs to be stored in some (standard) location

@mevdschee IMO file should be saved in ~/.config - it's a standard location for such information.

@sohang3112
Copy link
Contributor Author

@mevdschee Are you ok with saving score information in ~/.config? I would like to work on a PR for this - please let me know if you have any other suggestions / things I should keep in mind.

@sohang3112
Copy link
Contributor Author

@mevdschee Please confirm if you're ok with scoring high score information in ~/.config - then I'll work on a PR for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants