A single, mutable per-account streak/stats record, edited in place like a profile. It also doubles as atkuzu's declaration / signaling record: its presence signals that an account plays atkuzu, and its deletion signals opt-out. Created on first play, even before any stats accrue.
literal:self
Fixed literal value
Properties
currentStreak
integer
Optional
Consecutive solved puzzles up to the most recent played puzzle.
minimum: 0gamesPlayed
integer
Optional
Total puzzles completed (solved or not).
minimum: 0gamesWon
integer
Optional
Total puzzles solved.
minimum: 0lastPuzzleNumber
integer
Optional
Puzzle number of the most recent completed puzzle, used to detect streak breaks.
minimum: 1maxStreak
integer
Optional
Longest streak ever achieved.
minimum: 0test
boolean
Optional
True if the current values reflect test writes only, not real completions. Since this record is a singleton (`self`), a real write always overwrites a test one and omits this field.
updatedAt
string
datetime
Required
When this record was last updated.
View raw schema
{
"description": "A single, mutable per-account streak/stats record, edited in place like a profile. It also doubles as atkuzu's declaration / signaling record: its presence signals that an account plays atkuzu, and its deletion signals opt-out. Created on first play, even before any stats accrue.",
"key": "literal:self",
"record": {
"properties": {
"currentStreak": {
"description": "Consecutive solved puzzles up to the most recent played puzzle.",
"minimum": 0,
"type": "integer"
},
"gamesPlayed": {
"description": "Total puzzles completed (solved or not).",
"minimum": 0,
"type": "integer"
},
"gamesWon": {
"description": "Total puzzles solved.",
"minimum": 0,
"type": "integer"
},
"lastPuzzleNumber": {
"description": "Puzzle number of the most recent completed puzzle, used to detect streak breaks.",
"minimum": 1,
"type": "integer"
},
"maxStreak": {
"description": "Longest streak ever achieved.",
"minimum": 0,
"type": "integer"
},
"test": {
"description": "True if the current values reflect test writes only, not real completions. Since this record is a singleton (`self`), a real write always overwrites a test one and omits this field.",
"type": "boolean"
},
"updatedAt": {
"description": "When this record was last updated.",
"format": "datetime",
"type": "string"
}
},
"required": [
"updatedAt"
],
"type": "object"
},
"type": "record"
}