mwg API
    Preparing search index...

    Interface AIDecisionInput

    What one decide call receives. perception is the game-built snapshot; state overrides the agent's stored state for this call; signal cancels; the budget and seed fields override the runner's defaults.

    interface AIDecisionInput {
        maxMilliseconds?: number;
        maxSteps?: number;
        perception: AIValue;
        seed?: number;
        signal?: AbortSignal;
        state?: AI.AIState;
    }
    Index
    maxMilliseconds?: number
    maxSteps?: number
    perception: AIValue
    seed?: number
    signal?: AbortSignal
    state?: AI.AIState