five-on-it / packages/ai/src/police-citizens
packages/ai/src/police-citizens
The citizen app (GAME_DESIGN §12, C31; five stars and up, police-ladder.ts' citizens): the city pays its residents in "civic points" for footage of wanted people. A pedestrian (not a dog, not an officer) who sees a wanted player within CITIZENS.range stops and films them, its phone held up toward them (its input's phone out: the act the client draws); every CITIZENS.clipSeconds of filming is a sighting of the player (police.ts' radio, as an officer's), the first of each film said on the radio. It stops when it loses sight of them. The counters: stay out of sight, keep below five stars, and a signal jammer (police-tech.ts) in reach of the citizen or of the player: no upload gets out. A player the police do not know (a disguise, a car taken unseen: police-heat.ts) is filmed, but the upload is of nobody they want. Deterministic: the players by client id, the pedestrians by entity id.