cloakfall
    Preparing search index...

    Interface PlacementSession

    One placement phase: each human places their fleet in turn, while the others look away. pending holds the ships the current player has still to place, and start the first cell of a ship once it has been clicked. One of these lives on each game's own session (see gameSession), so two games placing at once never interfere.

    interface PlacementSession {
        done: (order: Player[]) => void;
        humans: Player[];
        index: number;
        order: Player[];
        panel: DomItem;
        pending: ShipSpec[];
        players: Player[];
        stage: Stage;
        start: Point | null;
    }
    Index
    done: (order: Player[]) => void
    humans: Player[]
    index: number
    order: Player[]
    panel: DomItem
    pending: ShipSpec[]
    players: Player[]
    stage: Stage
    start: Point | null