Skip to content
1 viewer
View

Grid reference

1 page, 12 routes, 12 connections and 0 CLI commands, generated from the declarations of Grid 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 · 3

Declared views
PageView idRoleRouteOrderParentEntityNavigation
Overviewgrid.homehome/view/grid0in navigation
Board gamegrid.gamedetail/view/grid/{game}100grid.homeGridGamehidden
Board game matchgrid.playdetail/view/grid/play/{session_id}110grid.homeGridMatchhidden
3 rows

Connections · 12

Grid.AuthoringPreview

Validate and replay an authored definition without creating a match.

Grid.AuthoringPreview input
FieldTypeRequiredDescriptionAllowed
definitionrequired
movesoptional
computeroptional
3 rows
Calls and output
  • Output keygrid.result
  • Classificationroute_handler
  • POST /grid/authoring/previewHTTP route

Grid.CreateMatch

Start a board game: each seat human, solver or open, an optional clock; backed by a Game session and room.

Grid.CreateMatch input
FieldTypeRequiredDescriptionAllowed
gamerequired
controllersoptional
time_controloptional
3 rows
Calls and output
  • Output keygrid.result
  • Classificationreal
  • POST /grid/matchHTTP route

Grid.Games

Every board game: board, sides, pieces, rules and how it stands to chess.

Grid.Games input
FieldTypeRequiredDescriptionAllowed
gameoptional
1 row
Calls and output
  • Output keygrid.result
  • Classificationroute_handler
  • GET /grid/gamesHTTP route

Grid.Join

The caller takes the game's open seat.

Grid.Join input
FieldTypeRequiredDescriptionAllowed
session_idrequired
1 row
Calls and output
  • Output keygrid.result
  • Classificationreal
  • POST /grid/joinHTTP route

Grid.List

The most recent games, of one game or of all.

Grid.List input
FieldTypeRequiredDescriptionAllowed
gameoptional
limitoptional
2 rows
Calls and output
  • Output keygrid.result
  • Classificationroute_handler
  • GET /grid/listHTTP route

Grid.Move

Play the move written in the game's notation for the seat the caller holds; a solver seat answers in the same request.

Grid.Move input
FieldTypeRequiredDescriptionAllowed
session_idrequired
moverequired
2 rows
Calls and output
  • Output keygrid.result
  • Classificationreal
  • POST /grid/moveHTTP route

Grid.Replay

Rebuild a game from Game's action log alone and compare it with the stored record.

Grid.Replay input
FieldTypeRequiredDescriptionAllowed
session_idrequired
1 row
Calls and output
  • Output keygrid.result
  • Classificationroute_handler
  • POST /grid/replayHTTP route

Grid.Resign

A seated player concedes; the other side wins.

Grid.Resign input
FieldTypeRequiredDescriptionAllowed
session_idrequired
1 row
Calls and output
  • Output keygrid.result
  • Classificationreal
  • POST /grid/resignHTTP route

Grid.SolverMove

The solver plays the side to move when that side is a solver seat; a showcase advances one move a call.

Grid.SolverMove input
FieldTypeRequiredDescriptionAllowed
session_idrequired
1 row
Calls and output
  • Output keygrid.result
  • Classificationreal
  • POST /grid/solver-moveHTTP route

Grid.State

One game as a board draws it: seats, record, legal moves, result, score and clock.

Grid.State input
FieldTypeRequiredDescriptionAllowed
session_idrequired
1 row
Calls and output
  • Output keygrid.result
  • Classificationroute_handler
  • GET /grid/stateHTTP route

Grid.Status

The games on offer and how many matches are stored.

Calls and output
  • Output keygrid.result
  • Classificationroute_handler
  • GET /grid/statusHTTP route

Grid.ViewPatch

Live patch for the match page: a fresh arena when the game moved past the caller's revision.

Grid.ViewPatch input
FieldTypeRequiredDescriptionAllowed
session_idrequired
1 row
Calls and output
  • Output keygrid.result
  • Classificationroute_handler
  • GET /grid/document/patchHTTP route

Schema and data model

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

Declared storage
  • Authoritystateless
  • Preferred truthnone
  • App ownerGrid
  • 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
  • Game

Structure review · 3

Warnings · 3