export interface Piece { rank: number; owner: number; } export interface Cell { piece?: Piece; terrainType: number; }