GameTypes
Defined in: core/define.ts:320
The type information a game carries for clients and tests.
Type Parameters
Section titled “Type Parameters”S
O
PN extends string
Actions
Section titled “Actions”Actions
V
R = Json
ID extends string = string
OI = O
Properties
Section titled “Properties”actions
Section titled “actions”actions:
Actions
Defined in: core/define.ts:337
Every action name (top-level and in any phase) mapped to its input type.
id:
ID
Defined in: core/define.ts:330
options
Section titled “options”options:
O
Defined in: core/define.ts:332
optionsInput
Section titled “optionsInput”optionsInput:
OI
Defined in: core/define.ts:334
What createTable accepts: the options schema's input (defaults may be omitted).
phases
Section titled “phases”phases:
PN
Defined in: core/define.ts:335
result
Section titled “result”result:
R
Defined in: core/define.ts:340
The type of meta.result once the table ends.
state:
S
Defined in: core/define.ts:331
view:
V
Defined in: core/define.ts:338
