Skip to content

AiStats beta ​

Interface of @v12-engine/engine/ai

ts
export interface AiStats

What a computer player's play adds up to since it was seated (Brain.stats, AiReport.stats): the numbers simulate reports beside who won, and a test reads to see that the squads send an order once and watch it. Counted, never decided on

Members ​

blockedOnMoney ​

ts
blockedOnMoney: number;

Seconds its building waited on money: a want saving up

churn ​

ts
churn: number;

Orders sent to a unit again for the same thing within a few seconds: a unit told the same every think stops and starts

commands ​

ts
commands: number;

Commands sent

held ​

ts
held: number;

Commands held back past what a think may send (AiProfile.commandsPerThink)

idleArmySeconds ​

ts
idleArmySeconds: number;

Seconds its fighters stood idle, summed over the fighters: ten footmen idle for a minute are six hundred

refused ​

ts
refused: number;

Commands the game refused (a unit that could not do it, a place it could not build at)

thinks ​

ts
thinks: number;

Thinks counted