Skip to content

RuleSettingsInit beta ​

TypeAlias of @v12-engine/engine

ts
export type RuleSettingsInit = {
    [K in Exclude<keyof RuleSettings, 'score' | 'hud'>]?: SettingsPart<RuleSettings[K]>;
} & {
    score?: ScoreSettings;
    hud?: HudSharing;
};

What a game says of its rules (Rules.settings), or a pack (GamePack.settings): any of them, a group in part ({ supply: { max: 200 } }), the engine's for the rest. The score and the HUD's sharing are given whole