Expand description
BotStadia’s shared contracts.
declaration: what an arena says about itself, and its checkspayload: the per-turn input and output encoding, and the host’s validity rule for an outputarchive: the replay archive the player readsmetrics: the metrics file the site readscopy: an arena’sarena.toml, its site copyplayer: the messages between the site and an arena’s player
The WIT worlds ship in wit/: botstadia:arena for arenas’ engines and
botstadia:agent for bots. Features generate bindings for them:
arena-guest, agent-guest and host.
Modules§
- archive
- The replay archive: one session’s frames, for the player.
- copy
- An arena’s
arena.toml: its registry row and everything the site says about it that isn’t in the declaration. - declaration
- What an arena says about itself.
- metrics
- The metrics file: everything the site draws about a session, beside its replay archive.
- payload
- The payload: one binary message per turn, each way.
- player
- Messages between the site and an arena’s player.