Skip to content

five-on-it / packages/ai/src/police-budget / pressureStep

Function: pressureStep() ​

pressureStep(book, client, stars, tick): void

Defined in: packages/ai/src/police-budget.ts:146

One tick of a player's pressure (see the module documentation), with their stars now: an easy escape raises it, the third arrest in a row lowers it.

Parameters ​

book ​

BudgetBook

client ​

number

stars ​

number

tick ​

number

Returns ​

void