Skip to content

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

packages/protocol/src/pause ​

The pause (GAME_DESIGN's menus): a player opens the pause menu and asks the room to wait (pause, on), or closes it (off); the room waits only for a player alone in it (never in a run's room, whose clocks are the wall clock's), so the server answers every player who asked with whether the room is frozen and how many play there (paused), again whenever that changes (another player joins and the city goes on; the last other leaves and it waits again). Text frames, both ways.

Type Aliases ​

Variables ​

Functions ​