GameAi beta
Interface of @v12-engine/engine/ai
export interface GameAiWhat a game says of its computer players' profiles (Rules.ai): difficulties and personalities of its own, and defaults over the engine's
Members
conditions
conditions?: Record<string, AiConditionTest>;Conditions of its own, by id, for the data form ({ is: 'mygame.bridgeDown', args }), a map's file among them
defaults
defaults?: AiProfile;Defaults over the engine's, under the difficulty
difficulties
difficulties?: AiProfileTable;Difficulties of its own, by name, beside (or over) the engine's
lobby
lobby?: boolean;Whether a lobby offers its seats a difficulty and a personality (seatSettingsOf): yes when left out
personalities
personalities?: AiProfileTable;Personalities of its own, by name
races
races?: AiProfileTable;How its computers play each of its races (Rules.races), by race id: a layer over defaults and under the difficulty, for a seat of that race (its build order, heroes, composition, flags; how often it thinks). Its difficulty and personality are the seat's where the lobby and the map say none