mwg API
    Preparing search index...

    Interface ScoreView

    What one mind can see, and what it is worth.

    The totals stay separate because which of them matter, and how much, is the mind's business - see scoreWith. Plain numbers, so a view crosses the AI boundary like any other AIValue.

    interface ScoreView {
        allies: number;
        enemies: number;
        own: number;
        seen: number;
    }
    Index
    allies: number

    the summed score of everyone on the subject's side that it can see, itself excluded

    enemies: number

    the summed score of everyone on another side that it can see

    own: number

    the subject's own score; 0 for a whole side, which has no body of its own

    seen: number

    how many subjects it could see at all, itself included: a diagnostic, never a score