Types

Every field in a gamehoster-schema.json declares a type. The type fixes how the value is stored, and it guides how the client shows it between the updates it receives: a numeric value is eased from one update to the next so motion stays smooth, and the rest are shown as they arrive. How a field is drawn is finally the front end's choice; this is the built-in default.

TypeMeaningDefault display
numberA decimal number: a position, a velocity, an angle.eased between updates
intA whole number: a score, a count, a grid cell.eased between updates
boolEither true or false.shown as received
stringFree text: a name, a square like e4, a stable id, or one of a fixed set of choices such as a phase.shown as received
tickA game tick: a spawn time, the tick a shot last fired. Stored as a whole tick number and sent compactly, relative to the tick you joined on, so it stays a byte or two.shown as received

Notes