five-on-it / packages/ai/src/nail-strips / stripSystem
Function: stripSystem()
stripSystem(
sim,book,graph,players):void
Defined in: packages/ai/src/nail-strips.ts:237
One tick of the strips: those whose player is gone, below three stars, past them or long gone by are reeled in, picked up once in, and their units go once nobody is near; then a strip is laid ahead of each player at three stars who drives fast enough, when it is time and none of theirs is out.
Parameters
sim
book
graph
players
ReadonlyMap<number, number>
Returns
void