Skip to content

five-on-it / packages/ai/src/police-endgame / unitsFor

Function: unitsFor() ​

unitsFor(ai, base): number

Defined in: packages/ai/src/police-endgame.ts:114

The units of another kind kept when the ladder asks for base: thinned while the budget is run dry, one at least.

Parameters ​

ai ​

AiWorld

base ​

number

Returns ​

number