Files
domino-server/src/game/dto/GameState.ts
2024-07-05 01:19:43 +02:00

18 lines
430 B
TypeScript

import { PlayerMove } from "../entities/PlayerMove";
import { PlayerDto } from "./PlayerDto";
export interface GameState {
id: string;
players: PlayerDto[];
boneyard: any[];
currentPlayer: PlayerDto | null;
board: any[];
gameInProgress: boolean;
winner?: any;
gameBlocked: boolean;
gameTied: boolean;
gameId: string;
tileSelectionPhase: boolean;
boardFreeEnds: number[];
lastMove: PlayerMove | null;
}