Skip to content
1 viewer
View

Game reference

1 page, 22 routes, 22 connections and 0 CLI commands, generated from the declarations of Game without reading storage or running anything.

AboutCode

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

Declared views
PageView idRoleRouteOrderParentEntityNavigation
Game editorgame.editorcustom/view/game/editor0in navigation
1 row

Connections · 22

Game.CompleteSession

Mark a durable game session complete, persist the final canonical state, and emit a match completion event.

Game.CompleteSession input
FieldTypeRequiredDescriptionAllowed
session_idoptional
room_idoptional
2 rows
Calls and output
  • 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.

Game.CreateMatch input
FieldTypeRequiredDescriptionAllowed
game_kindoptional
1 row
Calls and output
  • Output keygame.result
  • Classificationreal
  • POST /game/matchHTTP route

Game.CreateRoom

Create a new game room and durable game session. Broadcasts `game.room.created`.

Game.CreateRoom input
FieldTypeRequiredDescriptionAllowed
room_idoptional
1 row
Calls and output
  • Output keygame.result
  • Classificationreal
  • POST /game/roomHTTP route

Game.CreateSession

Create a durable generic game session with optional room backing.

Game.CreateSession input
FieldTypeRequiredDescriptionAllowed
game_kindoptional
1 row
Calls and output
  • Output keygame.result
  • Classificationreal
  • POST /game/sessionHTTP route

Game.Events

Read the durable game event log for a session.

Game.Events input
FieldTypeRequiredDescriptionAllowed
session_idoptional
1 row
Calls and output
  • Output keygame.result
  • Classificationroute_handler
  • GET /game/eventsHTTP route

Game.Join

Join an existing game room. Mutates room membership state and broadcasts `game.joined`.

Game.Join input
FieldTypeRequiredDescriptionAllowed
room_idrequired
peer_idoptional
2 rows
Calls and output
  • 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.

Game.Lobby input
FieldTypeRequiredDescriptionAllowed
game_kindrequired
actor_idoptional
2 rows
Calls and output
  • 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.

Game.Pools input
FieldTypeRequiredDescriptionAllowed
game_kindoptional
actor_idoptional
2 rows
Calls and output
  • 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.

Game.Publish input
FieldTypeRequiredDescriptionAllowed
room_idrequired
1 row
Calls and output
  • Output keygame.result
  • Classificationreal
  • POST /game/publishHTTP route

Game.Ratings

A player's Glicko-2 ratings per game and category, with their record.

Game.Ratings input
FieldTypeRequiredDescriptionAllowed
actor_idoptional
game_kindoptional
2 rows
Calls and output
  • Output keygame.result
  • Classificationroute_handler
  • GET /game/ratingsHTTP route

Game.Replay

Replay the generic input log and compare the final state hash.

Game.Replay input
FieldTypeRequiredDescriptionAllowed
session_idoptional
1 row
Calls and output
  • 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.

Game.SeatClaim input
FieldTypeRequiredDescriptionAllowed
session_idoptional
room_idoptional
peer_idoptional
actor_idoptional
seatoptional
slot_idoptional
6 rows
Calls and output
  • 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.

Game.Seek input
FieldTypeRequiredDescriptionAllowed
pool_idrequired
actor_idoptional
max_gapoptional
3 rows
Calls and output
  • 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.

Game.SeekAccept input
FieldTypeRequiredDescriptionAllowed
ticket_idrequired
actor_idoptional
2 rows
Calls and output
  • Output keygame.result
  • Classificationreal
  • POST /game/seek/acceptHTTP route

Game.SeekCancel

Leave the quick-pairing pool. A seek already paired stays paired.

Game.SeekCancel input
FieldTypeRequiredDescriptionAllowed
actor_idoptional
1 row
Calls and output
  • 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.

Game.SeekDecline input
FieldTypeRequiredDescriptionAllowed
ticket_idrequired
actor_idoptional
2 rows
Calls and output
  • 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.

Game.SeekPost input
FieldTypeRequiredDescriptionAllowed
game_kindrequired
actor_idoptional
base_msoptional
increment_msoptional
variantoptional
coloroptional
ratedoptional
to_actoroptional
8 rows
Calls and output
  • 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.

Game.SeekStatus input
FieldTypeRequiredDescriptionAllowed
actor_idoptional
1 row
Calls and output
  • Output keygame.result
  • Classificationreal
  • POST /game/seek/statusHTTP route

Game.State

Read current game state for a session or room.

Game.State input
FieldTypeRequiredDescriptionAllowed
room_idoptional
1 row
Calls and output
  • Output keygame.result
  • Classificationroute_handler
  • GET /game/stateHTTP route

Game.Status

Game subsystem health / room status.

Calls and output
  • 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.

Game.SubmitAction input
FieldTypeRequiredDescriptionAllowed
session_idoptional
room_idoptional
action_typeoptional
3 rows
Calls and output
  • Output keygame.result
  • Classificationreal
  • POST /game/actionHTTP route

Game.SubmitInput

Backward-compatible alias for appending an accepted generic action frame.

Game.SubmitInput input
FieldTypeRequiredDescriptionAllowed
session_idoptional
room_idoptional
actionoptional
3 rows
Calls and output
  • Output keygame.result
  • Classificationreal
  • POST /game/inputHTTP route

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
  • Authoritystateless
  • Preferred truthnone
  • App ownerGame
  • SQL projectionnone · DDL declarations: 0
Hyper vertex kinds read
  • None declared.
Hyper vertex kinds written
  • None declared.
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • No model warnings were reported.

Capabilities and dependencies

Depends on
  • Room
  • Controller
  • Action
  • Network

Structure review · 1

Warnings · 1
  • Game · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)