0
/devs documentation v0.0.1-beta Scores & runs

SDK · v0.0.1-beta

Scores & runs

submitScore, getTopScores and persistRun for global leaderboard + shareable URL

Translation in progress. This page is not yet translated to English. The full reference is available in Spanish — see the Spanish version until we ship the English copy.

The SDK exposes three APIs for scores:

  • submitScore — submit a score to the game’s global leaderboard.
  • getTopScores — read top N rankings (with cache).
  • persistRun — persist a full run snapshot to generate a shareable /r/[id] URL.

The full API reference, anti-cheat caps, dedupe-by-nickname behavior, and shareable URL flow are in the Spanish version.

Sign in to Jugafy

Save your scores, hit the leaderboard, and sync progress across devices.

Talk to us

Bug, idea, gripe — anything helps us make this better.