Description

Game state data

interface IGameStateData {
    buildPositions: IPositionData<boolean>[];
    castle_coeff: number;
    castles: IPosition[];
    craftsmen: ICraftsmenPosition[];
    destroyPositions: IPositionData<boolean>[];
    height: number;
    id: number;
    lastTurn: number;
    match_id: number;
    name: string;
    ponds: IPosition[];
    scorePositions: IPositionData<number>[];
    scores: {
        [side: string]: IScores;
    };
    scoresHistory: {
        [side: string]: IScores[];
    };
    sides: IPositionData<EWallSide>[];
    targetPositions: IPosition[];
    territory_coeff: number;
    wall_coeff: number;
    walls: IWallPosition[];
    width: number;
}

Hierarchy

Implemented by

Properties

buildPositions: IPositionData<boolean>[]

Description

Những điểm có thể xây dựng

castle_coeff: number

Description

Castle coefficient

castles: IPosition[]

Description

Position of castles

craftsmen: ICraftsmenPosition[]

Description

Position of craftsmen

destroyPositions: IPositionData<boolean>[]

Description

Những điểm có thể phá hủy

height: number

Description

Height of field

id: number

Description

Id of the game

lastTurn: number

Description

Turn of lastest action has been added

match_id: number

Description

Id of the match

name: string

Description

Name of the game

ponds: IPosition[]

Description

Position of ponds

scorePositions: IPositionData<number>[]

Description

Trọng số của các vị trí

scores: {
    [side: string]: IScores;
}

Type declaration

Description

Scores

scoresHistory: {
    [side: string]: IScores[];
}

Type declaration

Description

History of scores

sides: IPositionData<EWallSide>[]

Description

List of sides

targetPositions: IPosition[]

Description

Những điểm cần đi đến

territory_coeff: number

Description

Territory coefficient

wall_coeff: number

Description

Wall coefficient

walls: IWallPosition[]

Description

Position of walls

width: number

Description

Width of field

Generated using TypeDoc