com.gamethesky.fightthesky.run

One run of Fight the Sky, published by the player into their own repo: a climb up the ladder, or a single ghost fight (see `ghost`). The record stores the fighter's build and every input rather than a score: the sim is deterministic, so re-running the input log against the same seed with the same build reproduces the run exactly. Owning the record is the identity proof, and replaying it is the score proof — score, wins and the rest are advisory and never trusted by a leaderboard.

Repository @gamethesky.com did:plc:fpi7mvknwqh264gz6kug7pmk namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityfightthesky.gamethesky.com
Indexed

Showing version bafyreieoqpksgez6onqz7rvgtxw2lxii3kgpxrte4gjjwl37rwyambm3uy. Show the latest

Record

record · key tid

Properties

build

requiredref

The fighter's build: twelve points at most over four stats of 1–5, and a special. The build changes the sim, so a verifier replays with it and refuses one over budget.

Reference

createdAt

requiredstring · datetime

How hard the run was. A verifier must replay at the same difficulty. Absent means normal. Each difficulty has its own daily board.

  • maxLength: 16
  • knownValues: granny | easy | normal | hard

faces

array

The player's own photo faces that fought on the ladder, included on purpose (the game asks, off by default) so a replay anywhere shows them; each photo is a public blob in the player's repo. Cosmetic, like `look`: a face takes its ladder slot ahead of the people the player follows, the opponents' play is the sim's, and a verifier ignores this field entirely. Six at most. Never on a ghost fight.

  • maxLength: 6
itemsref
Reference

Present on a ghost fight: who the opponent was and how sharp. A run with this never ranks on a board, whatever its seed.

Reference

hits

integer

Advisory: hits landed.

  • minimum: 0

inputs

requiredstring

The whole run as the only input the game takes. Comma-separated `<dtick>.<code>` entries, or `<dtick>.<code>.<v>` for the held ones: dtick is 60 Hz ticks since the previous entry; code 0 is a jab, 1 a kick, 2 the special, 3 throws in the towel (the run ends on that entry), 4 sets the held direction (v is -1 left, 0 none, 1 right; absolute, not relative to facing), 5 crouches (v 1) or stands (v 0), 6 jumps, 7 holds guard (v 1) or lets go (v 0). Only inputs the sim accepted are logged; a verifier refuses a log the sim would not have accepted. Example: `100.4.1,40.0,8.1,30.4.0`.

  • maxLength: 400000

look

string

Cosmetic: the fighter's three paint colors, as `rrggbb.rrggbb.rrggbb` (body, trim, gloves). The sim never sees it.

  • maxLength: 32

perfects

integer

Advisory: fights won without taking a hit.

  • minimum: 0

score

requiredinteger

Advisory: the final score.

  • minimum: 0

seed

requiredstring

Which ladder: a date (YYYY-MM-DD, local to the player) for the daily ladder, or any other string for a practice one or a ghost fight. The sim seeds from the FNV-1a hash of this string.

  • maxLength: 64

simVersion

requiredinteger

Which rules produced these inputs. A verifier must replay under the matching version or refuse the run.

  • minimum: 1

start

integer

The ladder slot the run started at: 1 for a full run, any other for practice against that opponent. Absent means 1. Only full runs of a daily ladder rank. A ghost fight is always 1.

  • minimum: 1
  • maximum: 10

ticks

requiredinteger

Advisory: the tick the run ended.

  • minimum: 1

wins

requiredinteger

Advisory: fights won.

  • minimum: 0

won

boolean

Advisory: the whole ladder was cleared; in a ghost fight, the ghost was beaten.

worn

ref

The photo face the player wore themself in this run, included on purpose under the same switch as `faces` (off by default), so a replay anywhere shows it in their corner, with its name, instead of their avatar. A public blob in the player's repo. Cosmetic: a verifier ignores it. Never on a ghost fight.

Reference

#build

object

A fighter's build: twelve points at most over four stats of 1–5, and a special. The build changes the sim, so a verifier replays with it and refuses one over budget. Shared by the run record and the fighter record.

Properties

guts

requiredinteger
  • minimum: 1
  • maximum: 5

power

requiredinteger
  • minimum: 1
  • maximum: 5

reach

requiredinteger
  • minimum: 1
  • maximum: 5

special

requiredstring
  • maxLength: 16
  • knownValues: post | ratio | rush

speed

requiredinteger
  • minimum: 1
  • maximum: 5

#face

object

One of the player's own faces, as it fought in a run: which ladder slot, the name under it, and the picture.

Properties

image

requiredblob

The face: a 256×256 JPEG, 64 KB at most, cropped to the middle of the photo. Readers refuse a bigger one.

  • maxSize: 65536
  • accept: image/jpeg

name

requiredstring

The name under the face, 40 characters at most.

  • maxLength: 160
  • maxGraphemes: 40

slot

requiredinteger

The ladder slot the face fought in, 0 the Lurker to 9 the Discourse. The slots are filled by `faces` at their slot numbers and then by the people the player follows in order, so a face sits ahead of them, as it did on the player's screen.

  • minimum: 0
  • maximum: 9

#ghost

object

A ghost fight's opponent: a strong reference to another player's fighter record, pinned to the version fought, plus how the CPU drove it. The verifier fetches that exact version, replays with its build and style, and refuses the run if the version is gone, so an owner editing their fighter changes no old result.

Properties

cid

requiredstring · cid

The version of that record the fight was played against.

skill

requiredinteger

How sharp the ghost's CPU was, the challenger's choice: the sim thinks skill/10 times the difficulty's, so 10 on Normal is as good as the CPU gets. A verifier must replay at the same skill.

  • minimum: 1
  • maximum: 10

style

string

Advisory: how the ghost fought, copied from its record so a card can say so without fetching it. A verifier uses the record's own style and refuses a run that disagrees.

  • maxLength: 16
  • knownValues: rusher | turtle | zoner | tricky

uri

requiredstring · at-uri

The opponent's `com.gamethesky.fightthesky.fighter` record, in their repo.

#worn

object

The face the player wore: the name they fought under and the picture.

Properties

image

requiredblob

A 256×256 JPEG, 64 KB at most, cropped to the middle of the photo. Readers refuse a bigger one.

  • maxSize: 65536
  • accept: image/jpeg

name

requiredstring

The name they fought under, 40 characters at most.

  • maxLength: 160
  • maxGraphemes: 40

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • One play of a Make the Sky game, published by the player into their own repo. It stores every input rather than trusting a score: each chapter's engine is deterministic, so replaying its log on the same game reproduces the run exactly. Owning the record is the identity proof and replaying it is the score proof; score and the rest are advisory.

  • One Sky Vortex run, published by the player into their own repo. The record stores every input rather than trusting a score: the sim is deterministic, so replaying the log on the same seed reproduces the run exactly. Owning the record is the identity proof, and replaying it is the score proof; score, ticks, level and the rest are advisory and never trusted by a board.

  • A player's fighter, published into their own repo so anyone can fight its ghost: the build the sim uses, the style the CPU plays it in, and the paint it wears. One per account, at rkey `self`; saving again overwrites it. A ghost run pins the version it fought by CID, so overwriting changes no old result.

  • One Sky Tanks run, published by the player into their own repo. The record stores every input rather than trusting a score: the sim is deterministic, so replaying the log on the same seed reproduces the run exactly. Owning the record is the identity proof, and replaying it is the score proof; score, ticks, level and the rest are advisory and never trusted by a board.

  • One night of Haunt the Sky, published by the player into their own repo. The record stores every input rather than trusting a score: the sim is deterministic, so replaying the log on the same seed reproduces the run exactly. Owning the record is the identity proof, and replaying it is the score proof; score, ticks, level and the rest are advisory and never trusted by a board.