HTML and CSS Reference
In-Depth Information
Listing 6.18. game.jsā€”Game upgrades
Step 2: Store high scores online (optional)
With a live score counter, you can easily let users post their high scores. The easiest way to
do this is visit http://clay.io and check out their leaderboard documentation.
Security, because cheaters are gonna cheat
Because your game is running in JavaScript, it's quite easy for hackers to manipulate high
scores, lives, and other information. Many consider JavaScript's security limitations a huge
problem for scoreboards and making income from in-game content.
If you absolutely need some security, a few options are available.
Search WWH ::




Custom Search