At this level
games.atplay · 4- games.atplay.authPlayer permission-set
- games.atplay.getProfile query Fetch a player's profile as the appview has it indexed.
- games.atplay.listGames query List games known to the appview, most recently released first.
- games.atplay.listInvitations query List the games a player is part of — ones they started and ones they were invited to — newest first.
- games.atplay.calculation.drawPile object Coordination state for a single hidden-pile operation (shuffle or reveal). The pile contents themselves live in _piles under shared or individual state; this calculation tracks the multi-player cryptographic protocol needed to transform them.
- games.atplay.calculation.randomNumber object Data needed for the players to coordinate generating a trusted random number together, eg. dice rolls, who plays first, shuffling cards
- games.atplay.game.createInvitation procedure Invite other players to a game. The appview writes the invitation to the caller's repo, where the invitees will find it. The state must already be the output of the initiator's own first resolve (see ADR 0006).
- games.atplay.game.createTurn procedure Publish a turn. The appview writes it to the caller's repo, from where the other players pick it up. Actions may be empty for the negotiation steps middleware drives (ADR 0028). The caller must have stored any secrets this turn depends on first (ADR 0030).
- games.atplay.game.end token Represents a game being finished, with no more turns available to play.
- games.atplay.game.invitation record An invitation to play a game, with everything needed to execute it
- games.atplay.game.latestRelease record A pointer to the latest release of a game
- games.atplay.game.like record Record declaring a like of a game release.
- games.atplay.game.release record One published build of a game: its logic, its display, and what it replaces. Everything that doesn't change between builds lives on the game's title instead (ADR 0037).
- games.atplay.game.secrets record A player's private secrets for one game, stored in their own 'me only' permissioned space — never on the public network. Written with the same record key as the invitation it belongs to, so it can be found without a query.
- games.atplay.game.state object The state of a game at a moment in time. Managed and interpreted entirely by a given game's logic blob
- games.atplay.game.title record A game, as distinct from any one release of it. There is one of these per game per developer, and its record key is the game's id — so its AT-URI is a permanent name for the game, which releases point back at (ADR 0037).
- games.atplay.game.turn record A turn