-
Notifications
You must be signed in to change notification settings - Fork 2
Description
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.