Start here
Build games for ARCADE
Add one script to your HTML5 game and it gets cloud saves, scores, leaderboards, analytics and multiplayer on ARCADE.
const sdk = new ArcadeSDK();
await sdk.ready(); // signed-in player, or local test mode
await sdk.save.set('level', 3); // cloud save, follows the player
await sdk.score.submit(4200); // leaderboards, checked for cheating
sdk.events.track('level_complete'); // shows up in your studio's analyticsGetting startedAdd the SDK and save your first progress in five minutes.Cloud savesProgress that follows players to every device.Scores and leaderboardsDaily, weekly and all-time boards, checked for cheating.Events and analyticsTrack what players do and see it per day.MultiplayerRooms, matches and moves checked by the server.REST APIThe endpoints behind the SDK, for servers and tools.
How it fits together
Your game runs in the player's browser, inside a sandboxed frame on the ARCADE game page. The SDK talks only to that page. The page adds the player's short-lived game session and calls the ARCADE API, and the API checks every request. Your game never sees the player's password, cookies or session token.
| Part | What it does |
|---|---|
| Your game + the SDK | Calls like sdk.save.set() and sdk.score.submit(). |
| ARCADE game page | Holds the game session, batches events and keeps the game sandboxed. |
| ARCADE API | Checks the session, the permissions and the limits, then stores the data. |
| Multiplayer server | Runs rooms and matches and checks every move with the game’s rules. |