Game reference
1 page, 22 routes, 22 connections and 0 CLI commands, generated from the declarations of Game without reading storage or running anything.
Code · 0 files
No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.
Pages · 1
| Page | View id | Role | Route | Order | Parent | Entity | Navigation |
|---|---|---|---|---|---|---|---|
| Game editor | game.editor | custom | /view/game/editor | 0 | in navigation |
Connections · 22
Game.CompleteSession
Mark a durable game session complete, persist the final canonical state, and emit a match completion event.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| session_id | optional | |||
| room_id | optional |
- Output keygame.result
- Classificationreal
- POST /game/completeHTTP route
Game.CreateMatch
Create a durable match spec with participant/controller slots, a room-backed session, and an economy policy envelope.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| game_kind | optional |
- Output keygame.result
- Classificationreal
- POST /game/matchHTTP route
Game.CreateRoom
Create a new game room and durable game session. Broadcasts `game.room.created`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| room_id | optional |
- Output keygame.result
- Classificationreal
- POST /game/roomHTTP route
Game.CreateSession
Create a durable generic game session with optional room backing.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| game_kind | optional |
- Output keygame.result
- Classificationreal
- POST /game/sessionHTTP route
Game.Events
Read the durable game event log for a session.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| session_id | optional |
- Output keygame.result
- Classificationroute_handler
- GET /game/eventsHTTP route
Game.Join
Join an existing game room. Mutates room membership state and broadcasts `game.joined`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| room_id | required | |||
| peer_id | optional |
- Output keygame.result
- Classificationreal
- POST /game/joinHTTP route
Game.Lobby
The games waiting in a game's lobby: every open game, and the challenges the reader posted or was sent.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| game_kind | required | |||
| actor_id | optional |
- Output keygame.result
- Classificationroute_handler
- GET /game/lobbyHTTP route
Game.Pools
Every quick-pairing pool the registered games offer, with waiting and playing counts and the reader's ratings.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| game_kind | optional | |||
| actor_id | optional |
- Output keygame.result
- Classificationroute_handler
- GET /game/poolsHTTP route
Game.Publish
Publish a game event into a room. Broadcasts `game.event` and persists the event into room state.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| room_id | required |
- Output keygame.result
- Classificationreal
- POST /game/publishHTTP route
Game.Ratings
A player's Glicko-2 ratings per game and category, with their record.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| actor_id | optional | |||
| game_kind | optional |
- Output keygame.result
- Classificationroute_handler
- GET /game/ratingsHTTP route
Game.Replay
Replay the generic input log and compare the final state hash.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| session_id | optional |
- Output keygame.result
- Classificationroute_handler
- POST /game/replayHTTP route
Game.SeatClaim
Claim a generic multiplayer seat or slot for an actor/peer. Updates durable Game seat metadata when a session exists and publishes `game.seat.claimed` room state.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| session_id | optional | |||
| room_id | optional | |||
| peer_id | optional | |||
| actor_id | optional | |||
| seat | optional | |||
| slot_id | optional |
- Output keygame.result
- Classificationreal
- POST /game/seat-claimHTTP route
Game.Seek
Enter a quick-pairing pool (replacing any other seek) and pair with the closest rating whose range meets yours; the game the pool starts is rated when both players are accountable.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| pool_id | required | |||
| actor_id | optional | |||
| max_gap | optional |
- Output keygame.result
- Classificationreal
- POST /game/seekHTTP route
Game.SeekAccept
Take a game waiting in the lobby, or a challenge sent to you. Starts the game for both players; it is rated when the poster asked and neither player is a guest.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| ticket_id | required | |||
| actor_id | optional |
- Output keygame.result
- Classificationreal
- POST /game/seek/acceptHTTP route
Game.SeekCancel
Leave the quick-pairing pool. A seek already paired stays paired.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| actor_id | optional |
- Output keygame.result
- Classificationreal
- POST /game/seek/cancelHTTP route
Game.SeekDecline
Turn down a challenge sent to you. The challenger's next poll reads it as declined.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| ticket_id | required | |||
| actor_id | optional |
- Output keygame.result
- Classificationreal
- POST /game/seek/declineHTTP route
Game.SeekPost
Post a game on your own terms (clock, rules, side, rated) to the lobby, or name `to_actor` to challenge one player. Replaces any other seek. An open game stays up while you poll; a challenge waits a day.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| game_kind | required | |||
| actor_id | optional | |||
| base_ms | optional | |||
| increment_ms | optional | |||
| variant | optional | |||
| color | optional | |||
| rated | optional | |||
| to_actor | optional |
- Output keygame.result
- Classificationreal
- POST /game/seek/postHTTP route
Game.SeekStatus
Read the caller's seek. Polling keeps a waiting seek in its pool and runs the pool's pairing wave.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| actor_id | optional |
- Output keygame.result
- Classificationreal
- POST /game/seek/statusHTTP route
Game.State
Read current game state for a session or room.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| room_id | optional |
- Output keygame.result
- Classificationroute_handler
- GET /game/stateHTTP route
Game.Status
Game subsystem health / room status.
- Output keygame.result
- Classificationroute_handler
- GET /game/statusHTTP route
Game.SubmitAction
Append an accepted action frame to a durable game session and advance the generic state hash.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| session_id | optional | |||
| room_id | optional | |||
| action_type | optional |
- Output keygame.result
- Classificationreal
- POST /game/actionHTTP route
Game.SubmitInput
Backward-compatible alias for appending an accepted generic action frame.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| session_id | optional | |||
| room_id | optional | |||
| action | optional |
- Output keygame.result
- Classificationreal
- POST /game/inputHTTP route
Schema and data model
Declared storage and kinds. Linked kinds open their app pages.
- Authoritystateless
- Preferred truthnone
- App ownerGame
- SQL projectionnone · DDL declarations: 0
- None declared.
- None declared.
- None declared.
- None declared.
- None declared.
- No model warnings were reported.
Capabilities and dependencies
- Room
- Controller
- Action
- Network
Structure review · 1
- Game · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)