at.turtleme.game.sweepReef
Sweep one patch of the reef, or the handful a chord opens, in the order given. What comes back is the patches that opened and what each one counts. While the board is still being played it also carries the covered patches the open numbers already prove safe, with what each of those counts, so a page can open one the moment it is tapped: a player could open every one of them at no risk and read the same counts. Where the shoal lies is not sent until the board is over. Sweeping a patch with a turtle under it wakes the shoal and ends the board, and only a board swept clean pays anything. Requires an atproto service auth token addressed to did:web:turtleme.at#turtle_game and naming this method, so a token issued for one call cannot be spent on another.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | game.turtleme.at |
| Indexed |
Procedure
procedure · POSTInput
application/jsonnetted
arrayWhere the player's nets are. They are the player's own marks and are not kept here; they are sent because a net stops a sweep spreading, the way a flag does. Leaving them out only opens more of the caller's own board.
maxLength: 256
minimum: 0
Which patches to sweep, in order. Sweeping stops at the first one that wakes the shoal.
minLength: 1maxLength: 9
minimum: 0
Output
application/jsonschema
refSimilar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
at.turtleme.game.castReef
procedureAnchor over a fresh reef. The board is made empty and the shoal goes down on the first sweep, clear of it, so the patch a round opens with is never the one that ends it. A patch named with the cast is that first sweep, settled in the same call, and the outcome carries what it opened as sweepReef's would. Where the shoal lies is never sent: the whole reason this is settled here is that a board laid out in the page is a board whose shoal is sitting in memory. Anchoring over a board that is still b
-
at.turtleme.game.leaveReef
procedureUp anchor and leave the shoal where it lies. Nothing comes aboard, because a board pays the whole shoal or it pays nothing, and the water wants the same wait it would after any other ending. Requires an atproto service auth token addressed to did:web:turtleme.at#turtle_game and naming this method, so a token issued for one call cannot be spent on another.
-
at.turtleme.game.castSpot
procedureStand over a fishing spot. Casting at one that has not yet wandered off does not move it, the same way setting a net that is already out does not restart it. When a spot leaves is drawn from the moment it arrived, so the page and turtle meat work out the same answer and neither has to tell the other. Requires an atproto service auth token addressed to did:web:turtleme.at#turtle_game and naming this method, so a token issued for one call cannot be spent on another.