com.gamethesky.fightthesky.run
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"build": {
5
5
"description": "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.",
6
6
"properties": {
7
7
"guts": {
8
8
"maximum": 5,
9
9
"minimum": 1,
10
10
"type": "integer"
11
11
},
12
12
"power": {
13
13
"maximum": 5,
14
14
"minimum": 1,
15
15
"type": "integer"
16
16
},
17
17
"reach": {
18
18
"maximum": 5,
19
19
"minimum": 1,
20
20
"type": "integer"
21
21
},
22
22
"special": {
23
23
"knownValues": [
24
24
"post",
25
25
"ratio",
26
26
"rush"
27
27
],
28
28
"maxLength": 16,
29
29
"type": "string"
30
30
},
31
31
"speed": {
32
32
"maximum": 5,
33
33
"minimum": 1,
34
34
"type": "integer"
35
35
}
36
36
},
37
37
"required": [
38
38
"power",
39
39
"speed",
40
40
"reach",
41
41
"guts",
42
42
"special"
43
43
],
44
44
"type": "object"
45
45
},
46
46
"ghost": {
47
47
"description": "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.",
48
48
"properties": {
49
49
"cid": {
50
50
"description": "The version of that record the fight was played against.",
51
51
"format": "cid",
52
52
"type": "string"
53
53
},
54
54
"skill": {
55
55
"description": "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.",
56
56
"maximum": 10,
57
57
"minimum": 1,
58
58
"type": "integer"
59
59
},
60
60
"style": {
61
61
"description": "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.",
62
62
"knownValues": [
63
63
"rusher",
64
64
"turtle",
65
65
"zoner",
66
66
"tricky"
67
67
],
68
68
"maxLength": 16,
69
69
"type": "string"
70
70
},
71
71
"uri": {
72
72
"description": "The opponent's `com.gamethesky.fightthesky.fighter` record, in their repo.",
73
73
"format": "at-uri",
74
74
"type": "string"
75
75
}
76
76
},
77
77
"required": [
78
78
"uri",
79
79
"cid",
80
80
"skill"
81
81
],
82
82
"type": "object"
83
83
},
84
84
"main": {
85
85
"description": "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.",
86
86
"key": "tid",
87
87
"record": {
88
88
"properties": {
89
89
"build": {
90
90
"description": "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.",
91
91
"ref": "#build",
92
92
"type": "ref"
93
93
},
94
94
"createdAt": {
95
95
"format": "datetime",
96
96
"type": "string"
97
97
},
98
98
"difficulty": {
99
99
"description": "How hard the run was. A verifier must replay at the same difficulty. Absent means normal. Each difficulty has its own daily board.",
100
100
"knownValues": [
101
101
"granny",
102
102
"easy",
103
103
"normal",
104
104
"hard"
105
105
],
106
106
"maxLength": 16,
107
107
"type": "string"
108
108
},
109
109
"ghost": {
110
110
"description": "Present on a ghost fight: who the opponent was and how sharp. A run with this never ranks on a board, whatever its seed.",
111
111
"ref": "#ghost",
112
112
"type": "ref"
113
113
},
114
114
"hits": {
115
115
"description": "Advisory: hits landed.",
116
116
"minimum": 0,
117
117
"type": "integer"
118
118
},
119
119
"inputs": {
120
120
"description": "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`.",
121
121
"maxLength": 400000,
122
122
"type": "string"
123
123
},
124
124
"look": {
125
-
"description": "Cosmetic: the fighter's three paint colours, as `rrggbb.rrggbb.rrggbb` (body, trim, gloves). The sim never sees it.",
125
+
"description": "Cosmetic: the fighter's three paint colors, as `rrggbb.rrggbb.rrggbb` (body, trim, gloves). The sim never sees it.",
126
126
"maxLength": 32,
127
127
"type": "string"
128
128
},
129
129
"perfects": {
130
130
"description": "Advisory: fights won without taking a hit.",
131
131
"minimum": 0,
132
132
"type": "integer"
133
133
},
134
134
"score": {
135
135
"description": "Advisory: the final score.",
136
136
"minimum": 0,
137
137
"type": "integer"
138
138
},
139
139
"seed": {
140
140
"description": "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.",
141
141
"maxLength": 64,
142
142
"type": "string"
143
143
},
144
144
"simVersion": {
145
145
"description": "Which rules produced these inputs. A verifier must replay under the matching version or refuse the run.",
146
146
"minimum": 1,
147
147
"type": "integer"
148
148
},
149
149
"start": {
150
150
"description": "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.",
151
151
"maximum": 10,
152
152
"minimum": 1,
153
153
"type": "integer"
154
154
},
155
155
"ticks": {
156
156
"description": "Advisory: the tick the run ended.",
157
157
"minimum": 1,
158
158
"type": "integer"
159
159
},
160
160
"wins": {
161
161
"description": "Advisory: fights won.",
162
162
"minimum": 0,
163
163
"type": "integer"
164
164
},
165
165
"won": {
166
166
"description": "Advisory: the whole ladder was cleared; in a ghost fight, the ghost was beaten.",
167
167
"type": "boolean"
168
168
}
169
169
},
170
170
"required": [
171
171
"seed",
172
172
"simVersion",
173
173
"inputs",
174
174
"build",
175
175
"score",
176
176
"wins",
177
177
"ticks",
178
178
"createdAt"
179
179
],
180
180
"type": "object"
181
181
},
182
182
"type": "record"
183
183
}
184
184
},
185
185
"id": "com.gamethesky.fightthesky.run",
186
186
"lexicon": 1
187
187
}