at.turtleme.game.cast
Cast out and start a run of strikes. The reply carries the seed every window of the run is drawn from, so the page can render the bar without being able to widen it or move the gold sliver. A cast while the water is still resting is refused. A cast while a run is still being played hands that run back, streak, strikes left and all, rather than starting another, so a page that lost sight of a run carries on with it and leaving a cast hanging is still not a way to fish without ever resting. A run left alone ends once the line has sat through its idle passes, and rests from that moment: a cast that finds one waits out whatever is left of that rest and no more. 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 · POSTOutput
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.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.
-
at.turtleme.game.fishSpot
procedureOne cast at the fishing spot. Whether it catches anything, and whether what it catches is a sea turtle, are turtle meat's rolls and not the caller's. A cast takes four ticks and casting again inside that is refused, as is casting at a spot that has already wandered off. 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.reelIn
procedureEnd a run of strikes early and start the rest. Every way a run can end costs the same minute — running out of strikes, letting the line sit, filling the inventory, reeling in, walking away — because any of them left free would be the strike limit handed back for a click. A run that had already ended by itself, its line left sitting through its idle passes, rests from when it ended rather than from the reeling. Reeling in when there is no run does nothing. Requires an atproto service auth token a
-
at.turtleme.game.strike
procedureStrike at the marker. The caller says how far into the cast the finger came down, in milliseconds, and nothing else: where the marker was at that moment, which of the run's windows it had laid down on the way, how wide that window is and where the sliver sits in it are all worked out by turtle meat from the run's own seed and the clock it started on. The moment itself is the one thing no server can see, and it is held between the run's elapsed time, past which nothing has happened yet, and the s
-
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