Skip to content

five-on-it / apps/client/src/ui/Wanted

apps/client/src/ui/Wanted ​

The Wanted level, top centre: the first five stars, flashing while one of the police's eyes sees the player, and a second row of five red escalation stars that shows only above five; the star's name (the satire's: Noticed, Pursuit, … Unicorn status), popping as the stars change; the Heat as a bar to 100; a word on whether the police see the player, and which of their eyes in the sky or on a pole has them (the drone, a camera, the helicopter's searchlight) and a warning while a marksman's laser is on them; a badge while the car they sit in carries the police's GPS tag (wanted or not: the tag stays on the car); the police radio's last lines (police tells: a roadblock ahead, the drone up, the scanner's every dispatch), each for a few seconds; and for a few seconds after an arrest, the fine. Nothing at all while the player is not wanted, not tagged, hears nothing and was not just arrested. The ids and the data-* attributes are the end-to-end tests' contract.

Interfaces ​

Functions ​