couch-kit
    Preparing search index...

    Interface IGameState

    Base interface for game state. All game states must extend this.

    Provides status (e.g. "lobby", "playing") and a players record that is managed automatically by the framework.

    interface IGameState {
        players: Record<string, IPlayer>;
        status: string;
    }
    Index
    players: Record<string, IPlayer>
    status: string