mwg API
    Preparing search index...

    Interface ReplayFile

    The self-describing envelope a recorded run is exported as.

    interface ReplayFile {
        events: readonly ReplayEvent[];
        format: "mwg-replay";
        framework: string;
        game: string;
        recordedAt?: number;
        seed?: number;
        version: 1;
    }
    Index
    events: readonly ReplayEvent[]
    format: "mwg-replay"
    framework: string

    the framework build the run was recorded against - version from the package root

    game: string

    the game's own identity, so a replay of one game is refused by another by name

    recordedAt?: number

    wall-clock moment of export, for a file listing; playback never reads it

    seed?: number

    the run's seed, so a seeded environment walks the same trajectory on import

    version: 1