we know that the js source code of html5 games is visible for player. I want to record the player's score on server. But how to prevent cheating? The player can simulate a http request or change the result with debug mode in chrome.
for example, a physics game:
(It's hard )
How can I notify server of the if the player is succeed or not safely?