Get your game ready to ship
No servers to set up, no database to run. Upload your game's web build; we keep saves, leaderboards, achievements and in-game currency.
Build your game with AI
If you'll write your game with an assistant like Claude, ChatGPT, Gemini or Grok, give it the Arcadex Game Guide file. It covers the package rules, submitting to leaderboards, letting players resume where they left off, saving choices and settings, rooms, friend invites and ad breaks, with sample code. It also includes a ready prompt to paste into your assistant.
// New (SDK v1.1)
await Arcadex.ads.break(); // ad break at a natural pause (never shown to Premium players)
await Arcadex.rooms.invite(); // the platform's invite window: invite friends from the follow list
if (info.invite?.room) await Arcadex.rooms.join(info.invite.room); // a player from an invite joins the room
info.player.premium // whether the player is Premium
info.challenge // { date, seed, board } when opened from the daily challenge: derive randomness from the seed
Arcadex.errors.report(e) // report an error you caught (uncaught ones go by themselves; see Error reports in the dashboard)
Your first game in 5 minutes
- Download the template. It contains a small, playable game that uses the SDK.
- Create a "New game" in your dashboard. Pick a name, genre, game mode (single-player, 2-player, multiplayer) and rewards.
- Under "Game services", press the template's "Add services" button. A leaderboard, two achievements and a currency are set up in one click.
- Zip the contents of the template folder and upload it. The automatic scan finishes in seconds and the report shows up right away.
- Press "Test". The game opens in the same environment as the live version. Your score, save and coins are kept as test data.
- Add a cover and submit for review. Once approved, the game enters the catalogue.
Bring an existing game (with Claude Code)
If your game already runs on a website with its own server and database, the arcadex-port skill turns it into an uploadable package. What it does:
- If the project contains several games, it lists them and asks which ones to extract.
- It asks whether you'll use Arcadex services or your own API.
- It extracts your database tables. In Arcadex mode they become services to define in the dashboard; in own-API mode they become an SQL schema for your server.
- It moves server calls to the SDK and cheat-sensitive rules to
server/main.js. - It checks the package and zips it.
It never touches your source project; output goes to a separate folder.
# Install (personal: available in all your projects)
# Windows: %USERPROFILE%\.claude\skills\ macOS/Linux: ~/.claude/skills/
# unzip into that folder: .../skills/arcadex-port/SKILL.md
# Open Claude Code in your game project and type:
/arcadex-port
# or: "Port the games in this project to Arcadex"
Own-API mode: the platform currently blocks games from connecting to outside servers. The skill prepares your package and schema; publishing needs the upcoming "verified domain" feature.
Package rules
Do
- A single
.zip, up to 150 MB. index.htmlat the root of the zip (or inside the zip's only folder).- Relative paths such as
assets/hero.png. Don't use root paths (/assets); the only exception is/sdk/arcadex.js. - A canvas that scales properly in portrait and/or landscape.
Don't
- Files like
.exe .dll .apk .ipa .so .jar .php(rejected automatically). - Connections to outside servers: analytics, ad networks, libraries from a CDN. Put everything in the package; the platform blocks outbound connections.
- Use of
eval,document.cookie,window.top(raises a warning and is questioned in review). - Obfuscated code. Include the readable source if needed.
Exporting by engine
Unity
Build Settings, Platform: Web (WebGL). Player Settings, Publishing: Compression Format can be Brotli or Gzip; the platform serves .br/.gz files with the right headers. Decompression Fallback can stay on. Zip the contents of the output folder.
To call the SDK, reach the window.Arcadex object from a .jslib plugin; edit the template by adding <script src="/sdk/arcadex.js"> to index.html.
Godot
Project, Export, Web. Thread Support must be off (multi-threaded exports aren't supported yet). Use JavaScriptBridge.get_interface("Arcadex") to reach the SDK.
Phaser, PixiJS, Three.js, plain JavaScript
Zip the build folder. Bundle libraries into the package instead of loading them from a CDN.
Construct, GameMaker, Cocos, Defold
Export as Web / HTML5. Turn off ad and analytics plugins in the export settings; they connect to outside servers.
SDK
One line to add. Every call returns a Promise. If the game is opened outside the platform, the SDK switches to local mode and runs in browser storage, so you can test on your own computer without changing code.
<script src="/sdk/arcadex.js"></script>
<script>
const info = await Arcadex.init();
// info.player -> { id, name } (null if not signed in)
// info.mode -> "live" | "test" | "local"
await Arcadex.save.set("progress", { level: 4, stars: 11 });
const progress = await Arcadex.save.get("progress");
const r = await Arcadex.leaderboard.submit("score", 1250); // { best, rank, improved }
const top = await Arcadex.leaderboard.top("score", { limit: 10, period: "week" });
await Arcadex.achievements.unlock("first-win"); // reward is added automatically if defined
await Arcadex.wallet.earn(20, "level-end");
await Arcadex.wallet.spend(50, "hint"); // if short: error.code === "insufficient"
Arcadex.on("pause", () => pauseGame()); // app went to the background
</script>
| Call | What it does | Limit |
|---|---|---|
init() | Returns game, player and defined services. Call this first. | |
player | A game-specific pseudonymous id and username. Personal data such as email is never shared. | |
save.get/set/list/remove | Per-player cloud save (JSON). Progress survives a device change. | 64 KB, 50 keys |
leaderboard.submit/top | Keeps the best score. All-time and weekly rankings. | Max set in dashboard |
achievements.unlock/list | Unlocks once; the reward is granted once. | 50 achievements |
wallet.get/earn/spend | In-game currency. Balance lives on the server, never goes negative, every change is written to a ledger. | Daily earn limit |
requireLogin() | Offers the sign-in screen to a player who isn't signed in. |
Data collections
"Your own table" without a database. Define a collection in the dashboard: per player (inventory, saved boards) or game-wide (puzzle of the day, event settings). You also choose whether the game can access the collection directly; make cheat-sensitive data "server only" and manage it from your script.
await Arcadex.data.set("inventory", "sword", { level: 3 });
const sword = await Arcadex.data.get("inventory", "sword");
const all = await Arcadex.data.list("inventory");
32 KB per record; 500 records per player, 5000 game-wide. Contents are stored encrypted.
Server scripts
If you add server/main.js to your package, it runs on our servers and is never sent to players. Do cheat-sensitive work here: granting rewards, validating scores, keeping secret answers. No server rental needed.
// server/main.js
exports.levelDone = function (ctx, args) {
if (args.time < 3000) throw new Error("Nobody finishes that fast."); // returned to the game as a message
arcadex.wallet.add(20, "level-" + args.level);
arcadex.leaderboard.submit("fastest", args.time); // "server only" board
console.log(ctx.player.name, "finished a level", args); // dashboard Test log
return { reward: 20 };
};
// in the game
const r = await Arcadex.server.call("levelDone", { level: 3, time: 41250 });
| In the script | What it does |
|---|---|
ctx.player | The calling player: { id, name } |
arcadex.data.get/set/remove/list | Accesses all collections (regardless of client permission). |
arcadex.wallet.balance/add/spend | In-game currency. add isn't capped by the daily limit. |
arcadex.leaderboard.submit | Also writes to "server only" boards. |
arcadex.achievements.unlock | Unlocks an achievement. |
console.log | Shows up in the dashboard's Test log / Live log. |
Limits: 1 second, 32 MB of memory and 100 platform operations per call. No access to the internet, files or timers. The script is reviewed with the rest of the game and sealed with the version.
Online rooms
A player creates a room, tells a friend the code, and the friend joins with it. If your script has exports.rooms, the server is the referee: every move goes to the script first, invalid moves are rejected, and game state is sent to everyone at once. Without a script, messages are relayed between players and the room host decides the state.
// in the game
const { room, you } = await Arcadex.rooms.create({ maxPlayers: 2 }); // room.code: "K7QM2X"
await Arcadex.rooms.join("K7QM2X");
Arcadex.on("room.state", (state) => draw(state));
Arcadex.on("room.message", (m) => { /* m.from, m.type, m.data */ });
await Arcadex.rooms.send("move", { cell: 4 });
// server/main.js
exports.rooms = {
onCreate: function (room, player, options) { room.state = { board: [] }; },
onJoin: function (room, player) { },
onMessage: function (room, player, msg) { /* change room.state; room.broadcast(type, data); room.end(result) */ },
onLeave: function (room, player) { }
};
Ready-made example: Online tic-tac-toe template. Move validation, winner, stats, wins leaderboard and coin rewards all happen on the server.
Test mode
Every version that passes the scan can be played from the dashboard with Test before you submit it for review. The game runs in the same environment as live, with the same security rules. Saves, scores and currency are kept as test data and never appear on real players' boards.
For multiplayer tests, send the test invite link under the version to a friend: for 24 hours, anyone signed in can open that version in test mode.
Error codes
error.code | Meaning |
|---|---|
login_required | The player isn't signed in. Call requireLogin() or continue as a guest. |
unknown_board, unknown_achievement | This code name isn't defined in the dashboard. |
no_currency | In-game currency isn't enabled in the dashboard. |
insufficient | Not enough balance. |
daily_limit | The player reached today's earn limit. |
score_out_of_range | The score exceeds the maximum set in the dashboard. |
version_conflict | The save was updated on another device; read it with save.get first. |
too_large, too_many_keys | Save size or count limit exceeded. |
session_expired | The session expired; the platform offers to reload the page. |
Review and release
The code of the version you submit is read and the game is played from start to finish. Declared game modes, rewards, ads and purchases are verified. The approved version is sealed; if it changes afterwards it won't go live. When you submit a new version, the old one stays live until the new one is approved.
Support for developers with their own servers, via a verified domain, is on our roadmap.