Skip to content

GameTypes

Defined in: core/define.ts:320

The type information a game carries for clients and tests.

S

O

PN extends string

Actions

V

R = Json

ID extends string = string

OI = O

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: O

Defined in: core/define.ts:332


optionsInput: OI

Defined in: core/define.ts:334

What createTable accepts: the options schema's input (defaults may be omitted).


phases: PN

Defined in: core/define.ts:335


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