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

High Score Saving #7

Open
elliot-nelson opened this issue Feb 21, 2021 · 0 comments
Open

High Score Saving #7

elliot-nelson opened this issue Feb 21, 2021 · 0 comments
Labels
enhancement New feature or request todo Feature that hasn't been implemented yet

Comments

@elliot-nelson
Copy link
Owner

Implementing high scores will be pointless without also implementing some game saving (like local storage).

What would be cool is to have a real high score system, where we push up an API request to a small function on the server. This unfortunately will be rife for abuse as I don't have any way to prevent people from pushing almost anything up to the server, especially with an open-source game.

More than likely, in order for a score system to make sense, we'd need to hash it -- a new score would need to be accompanied by "proof" in the form of a hashed series of the result of every frame that was played to reach the score. This doesn't prevent a player from submitting any score that they can find on the internet or reverse engineer by reading the code, but it makes it much harder than just entering 100000000000 into the console.

@elliot-nelson elliot-nelson added enhancement New feature or request todo Feature that hasn't been implemented yet labels Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request todo Feature that hasn't been implemented yet
Projects
None yet
Development

No branches or pull requests

1 participant