Skip to content

Publish and go live

Publishing turns your draft into a numbered version; promoting a version makes it the one your players get. Both are on the game’s Publish tab, which has three pages: Versions, Channels and History. Owners and developers can publish and promote; designers and viewers can’t.

On Versions, write what changed under Release notes (optional) and choose Publish. The draft must have no problems; if it has, fix them on the Rules tab first.

Arbitas then:

  1. Compiles the draft’s rules into a .NET rules engine.
  2. Plays smoke games: seeded games of random legal moves on the compiled engine. Any engine error fails the publish.
  3. Releases the engine, signed, as the next version (1, then 2, and so on) on the testing channel.

This takes a moment; the page says “Compiling and running the smoke simulation…” while it runs, and “Published to the testing channel.” when it’s done. A failed publish says why and changes nothing. Only one publish runs at a time for a game.

A version never changes. Edit the draft and publish again to make the next one.

Players never get a testing version. Test your draft on the Playtest tab before you publish, then promote the version when it’s ready.

On Channels, Testing lists the versions waiting, each with its own Promote version n to live button. Promoting makes that version the one players get, at once; the version that was live before stays in History. Matches already being played finish on the version they started with, and new matches use the new one.

The first time a version of a game goes live, Arbitas also gives the game its web address and opens email sign-in for its players.

History lists every version: its release notes, who published it (a builder or an API key), its DSL version, the smoke games it passed, and its rules’ hash.

Players play your game in the hosted web player, at its own link. Once a version is live, the portal shows the link under Players play it at, on the game’s Overview, in the Live channel on Publish’s Channels page, and in the Hosting box on Settings. Copy copies it, and Open opens the game as players see it, in a new tab.

For a game named Tic-tac-toe, the link looks like this:

https://tic-tac-toe.arbitas.games/?game=gam_…

The address is made from the game’s name the first time a version goes live; if that name is already taken, a number is added (tic-tac-toe-2). It takes a moment to set up after your first promotion, and the page shows it as soon as it’s ready. Changing the game’s name later doesn’t change the address, so links you’ve sent keep working. See link to your game for linking to it from your own site.

Players start as a guest, or sign in with a code emailed to them. From there they start a game, live or played over days, invite friends with a link, or play against a bot. Each game has its own player accounts: a player who signs in to your game isn’t signed in to anyone else’s.

Everything on this tab is in the Builder API: publishDraft (POST /v1/games/{gameId}/versions) starts a publish and answers with an operation to poll, promoteVersion (POST /v1/games/{gameId}/versions/{number}/promote) promotes, and getGame (GET /v1/games/{gameId}) gives the player link as playerUrl once the game is live. Your CI can call them with a build API key; see Invite your team, and API keys.