Skip to content

Sideloading

You can load any game template directly from a URL (bypassing the Probability catalog).

You need a template URL to start a new game, or a doc URL to join an existing game.

The template is a public folder of assets, i.e. an unzipped template zip.

https://prob.nz/play#template=<url>

Chess example (source code)

It must have CORS headers for * (or prob.nz) to work properly.

The doc URL is generated when you start a game from a template. The ID is an Automerge doc.

https://prob.nz/play#doc=<id>

If doc is set, template is ignored.

Sync servers facilitate connections between players, and are specified by the sync param.

https://prob.nz/play#template=<url>&sync=wss://sync.automerge.org&sync=wss://sync.probability.nz
https://prob.nz/play#doc=<id>&sync=wss://sync.probability.nz

You can self-host, in case sync.probability.nz is unavailable.