Game backend starter
Player accounts, leaderboards and cloud saves on Parse Server / Back4app. Everything below goes through Cloud functions; the client never writes a score or a save directly.
1. Account
Not signed in.
2. Scores — level 1
The "game" is a button: it produces a random score under the level-1 ceiling (10000), stamps it with the next session counter and a fresh nonce, and calls submitScore. Try the cheat buttons to see the rejections.
Top 10
My rank
—
3. Cloud save — slot 0
The save blob is a JSON string. putSave takes the version you loaded; if someone else saved since, you get STALE_SAVE with the current version instead of silently overwriting.
version: —