Skip to content

ComputerMeasures beta ​

Interface of @v12-engine/engine/testing

ts
export interface ComputerMeasures

How a computer player played one game, beside who won (SimulatedGame.computers): the numbers that say whether a brain plays well, not only whether it won (AiStats, the brain's own counts, by the minute where it says so)

Members ​

blockedOnMoney ​

ts
blockedOnMoney: number;

Seconds its building waited on money

brain ​

ts
brain?: string;

The brain that played the seat, by id: none for the first the game lists, seated by none named

churn ​

ts
churn: number;

Orders sent to a unit again for the same thing within a few seconds

commandsAMinute ​

ts
commandsAMinute: number;

Commands sent a minute of the game

held ​

ts
held: number;

Commands held back past what a think may send

idleArmySeconds ​

ts
idleArmySeconds: number;

Seconds its fighters stood idle, summed over the fighters

refused ​

ts
refused: number;

Commands the game refused

team ​

ts
team: number;

The team the seat played for

won ​

ts
won: boolean;

Whether its team won: false for a draw too