mwg API
    Preparing search index...

    Interface CollectionOptions

    interface CollectionOptions {
        namespace?: string;
        storage?: SaveStorage;
    }
    Index
    namespace?: string

    key prefix, so two games sharing a browser never meet; defaults to the game's name

    storage?: SaveStorage

    defaults to localStorage, falling back to memory where it is unavailable