Skip to content

concepts

The round server

One server, run by the platform for every provider; the wallet plugs in through a port.

The round server runs sessions and rounds: it calculates the outcome with the game's pure math, stores it, settles it with the operator's wallet, recovers interrupted rounds, applies limits and serves replays. The platform runs one server for every provider: each provider is a tenant with its own games, and the database keeps each tenant's rows apart.

Ports

  • Wallet: balance, debit, credit, refund; each money call prepared once and sent as the same bytes. The platform makes the calls; a provider writes no wallet code.
  • Operator notification: round settled, reconciliation required; sent after commit.
  • Clock, random source, id generator: passed into the round core, never read from inside it.
  • Alert: raised when a round needs a person.

Persistence is not a port: the application stores what the core decides through its own services, each step in one named transaction.

The seven money guarantees are on the Server page.