Type Alias BaseGameState<T>

BaseGameState<T>: {
    currentPlayer: number;
    state: T;
}

Type Parameters

Type declaration

  • currentPlayer: number

    The current player.

  • state: T

    The current state of the game.