at.turtleme.player.state
A player's game progress, as adjudicated by turtle meat and published by the player. The record lives in the player's own repository and can be deleted by them at any time, which removes them from the public leaderboard. It is a complete snapshot rather than a change since last time, so withholding an unflattering one gains nothing: any later snapshot already accounts for it.
Details · record, key literal:self
| Kind | record |
|---|---|
| Record key | literal:self |
| Authority | player.turtleme.at |
| Indexed |
Record
record · key literal:selfProperties
gp
integerTranscription of the coins in the proof: the balance the player held when it was signed. Absent when the proof carries no coin figure.
minimum: 0
A compact JWS signed by turtle meat, whose payload carries the authoritative numbers. THIS IS THE ONLY FIELD THAT COUNTS. The fields beside it are a readable transcription for other clients and for anyone browsing the repository; a reader that cares whether the numbers are real must verify this and use the payload, ignoring the transcription. If the two disagree the record is malformed. The signing key is published in the DID document at did:web:turtleme.at.
maxLength: 4096
Monotonic counter issued with each proof. A reader must reject any state at or below the highest sequence it has already accepted for this player, which is what stops an older and richer snapshot being republished to undo spending.
minimum: 1
When the player wrote this record. The proof carries its own issue time, which is the one to trust.
#skill
objectProperties
level
integerThe level the experience works out to. Derived, and included only so a reader does not have to know the curve.
minimum: 0maximum: 99
Experience earned. Levels here start at zero and gate nothing, so this is a progress count rather than a requirement.
minimum: 0maximum: 200000000
#stats
objectProperties
castsMade
integerminimum: 0
reefsCleared
integerminimum: 0
turtlesBurnt
integerminimum: 0
turtlesCaught
integerminimum: 0
turtlesCooked
integerminimum: 0
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
at.turtleme.game.session
recordOne adjudicated session of play, published by the player as a public trail of how their progress was earned. The leaderboard does not need these records; at.turtleme.player.state alone is enough to rank someone. They exist so that progress can be read as a history rather than a number, and so other clients have something to render. Written per session rather than per catch, which keeps a player's repository from growing without limit.
-
at.turtleme.player.status
recordA declaration that an account plays turtle meat, and optionally that it is playing right now. Written by the player's own client and not verified by anyone: nothing here affects scoring, so there is nothing to gain by lying in it. Progress that does affect scoring lives in at.turtleme.player.state, which carries a signature.
-
Signed player progression state. Singleton (rkey: self), overwritten via putRecord. Backend validates XP claims before signing.
-
Immutable level milestone record. Created once on level-up with createRecord. rkey is zero-padded level (001-099).
-
blue.2048.key.player.stats
recordA record that holds a did:key for verifying a players stats. This is intended to be written at a verification authorities repo