games.atplay.game.createInvitation
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).
Details · procedure
| Kind | procedure |
|---|---|
| Authority | game.atplay.games |
| Indexed |
Procedure
procedure · POSTInput
application/jsongame
refotherPlayers
arrayArray of DIDs for other players in the game
minLength: 1
parameters
refAny parameters of play used by the game logic
state
refThe AT-URI this invitation should be written to. Only its record key is used, and the caller mints it so anything keyed to the invitation — its secrets, above all — can be stored before the game is published.
maxLength: 512
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
games.atplay.game.invitation
recordAn invitation to play a game, with everything needed to execute it
-
games.atplay.game.createTurn
procedurePublish 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).