Skip to content

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

packages/protocol/src/police ​

The police's tells to one player (GAME_DESIGN §12, every police tool has a tell): a text frame sent to that player when it changes. It carries the marks the minimap draws (a roadblock ahead, flashing; a security or traffic camera that has the player, pulsing; with the police scanner app, every unit after the player, the rolling blocks forming and the drone), the last few lines of the police radio the HUD's police area reads (each with its number, its kind and the place it names: the client says it in the player's language from a table of lines), whether the drone or a camera has the player in sight now, and whether the player carries the scanner. The junctions the police turn red go to everyone with the other signals switched by hand (city.ts' SignalsMessage).

Type Aliases ​

Variables ​

Functions ​