Skip to content

five-on-it / packages/protocol/src/city

packages/protocol/src/city ​

The city's messages (GAME_DESIGN §5.3–§5.5, §5.7): the room clock, its weather and the traffic signals a mission switched by hand, each a text frame sent to every player when it changes and to a player as they join; a notice that time was skipped ("3 hours later"); and the zones of a game the minimap draws, which the welcome carries. The clock is three numbers (the tick it was set at, the time then, the pace), the weather its seed, climate and script, the signals their overrides only: each client works the hour, the rain and the lamps out from them and the tick, as the server does.

Type Aliases ​

Variables ​

Functions ​