cafe.thunderbird.contagion.game
One finished game of Contagion (a push-your-luck dice web tile, from House Dice), saved by its player to their own account. Written by the host page the game ran in, which fills in the game's address and version from the tile it actually ran. Anyone can check it: give the tile's engine.wasm the essentials (mode, day or seed, moves) and it must answer with exactly the other fields (its standard question, std_check_daily or std_check_free).
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | contagion.thunderbird.cafe |
| Commit rev | 3n33t2qqf322g |
| Indexed |
Record
record · key tidProperties
When the game was saved.
day
stringA daily game's day, YYYY-MM-DD (the America/Denver calendar day). Its dice come from the seed the engine works out for it (seed_for_day).
minLength: 10maxLength: 10
How the game ended: bank (the player banked); emptied (a keep set aside the last dice); stuck (a roll left nothing that could be kept: 1 if contained, otherwise 0, no bonuses).
knownValues: bank | emptied | stuck
engine
string · cidThe CID of the engine (the tile's /engine.wasm) that checked the game, when the host ran it.
A keep emptied the grid, and contained (+1).
All three resource types kept, and contained (+3).
The Contagion tile that played the game: its ing.dasl.masl record's address and exact version.
The grid at the end, 16 cells row by row from the top left: the face of a die still on it, or empty.
minLength: 16maxLength: 16
enum: empty | defense | home | hospital | water
daily: the day's dice, the same for everyone (carries day, never seed). free: free play, dice from its own seed (carries seed, never day).
knownValues: daily | free
Every move in order (the opening roll isn't one): a keep (defense, home, hospital or water), then roll or bank. The engine numbers these words 0 to 5 in the order listed here, so a host turns each word into its position in this list before asking the engine.
minLength: 0maxLength: 32
enum: roll | bank | defense | home | hospital | water
Contained: defense at least as many as contamination.
Home, hospital and water dice kept (the real count, also when not contained).
minimum: 0maximum: 16
The score: if contained, the resources kept, +3 for all three resource types, +1 for emptying the grid, at least 1 (a stuck game scores 1); otherwise 0.
minimum: 0maximum: 20
seed
integerA free-play game's seed.
minimum: 0maximum: 4294967295
#kept
objectProperties
minimum: 0maximum: 16
minimum: 0maximum: 16
minimum: 0maximum: 16
minimum: 0maximum: 16
minimum: 0maximum: 16
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
One finished game of Prism (a dice puzzle web tile), saved by its player to their own account. Written by the host page the game ran in, which fills in the game's address and version from the tile it actually ran. Anyone can check it: the tile's engine.wasm replays the moves on the game's dice (from the day, or from the seed) and must give exactly this board and score.
-
One finished run of Cosmic Junkyard (a web tile game), saved by its player to their own account. Written by the host page the game ran in, which fills in the game's address and version from the tile it actually ran. With moves, anyone can replay the run on its day's course to check its score.