Skip to content

AiViolation beta ​

Interface of @v12-engine/engine/ai

ts
export interface AiViolation

A rule a computer player broke, at a think: which, whose, when, and what exactly, in words

Members ​

invariant ​

ts
invariant: AiInvariant;

Which rule was broken

message ​

ts
message: string;

What exactly went wrong, in words

player ​

ts
player: PlayerId;

The computer player whose think broke the rule

tick ​

ts
tick: number;

The tick of the think's picture of the game