Docs/Sessions & Config/Custom Game Rules
Sessions & Config

Custom game rules

A generic, per-game override — unlike afkConfig, this is deliberately opaque at the platform level. A ludo rules override and a pool rules override have nothing in common, so the platform doesn't try to model every game's own rules shape; each game defines and validates its own.

On session creation

json
{
  "game": "ludo",
  "gameRules": { /* shape is entirely game-specific */ },
  "players": [ { "id": "user_1" }, { "id": "user_2" } ]
}
Honest status: none of the six games documented here have a gameRules implementation wired up yet — sending it today is accepted by the API but silently has no effect on any of them. The mechanism itself is real and working elsewhere on the platform; it just hasn't reached this game set yet. This page will be updated the moment that changes, with the real, game-specific field list for whichever game ships it first.