Skip to content

five-on-it / packages/ai/src/police-ladder

packages/ai/src/police-ladder ​

The police's ladder (GAME_DESIGN §12): what each star brings, one row per star from none to ten, as data. A row says how many cruisers the police keep after a wanted player and how many officers ride in each, whether their cars have the pursuit tune, whether nail strips are thrown ahead (nail-strips.ts), how many roadblocks are set on the road ahead and how many cars a rolling block sends (police-roadblocks.ts), whether the lights ahead turn red (police-signals.ts), how many drones watch from above (police-drones.ts), whether the city's cameras radio sightings (police-cameras.ts) and whether the units come from ahead on the road the player is predicted to take (PreCrime™, police-precrime.ts); from four stars the police bikes riding with the cruisers, and from seven the heavy response (police-heavy.ts): the APC, the water cannon, the helicopter, the rooftop snipers, the police boats on the water, the cruisers fitted with the Grappler and the GPS dart. Each star has its name, the satire's, which the HUD shows next to the stars. The phases that build SWAT, the tech division and the lockdown add their own columns to these rows.

Interfaces ​

Type Aliases ​

Variables ​

Functions ​