Feature/game score tracking (#48)

This commit is contained in:
Viktor Rådberg
2025-11-17 19:53:17 +01:00
committed by GitHub
parent c6039c2a53
commit ca4e3edb5f
13 changed files with 422 additions and 14 deletions

View File

@@ -27,6 +27,7 @@ export type Settings = {
preStartMode: PreStartMode;
showAnimations: boolean;
useMonarch: boolean;
showMatchScore: boolean;
};
export type InitialGameSettings = {
@@ -61,6 +62,7 @@ export const settingsSchema = z.object({
preStartMode: z.nativeEnum(PreStartMode),
showAnimations: z.boolean(),
useMonarch: z.boolean().default(false),
showMatchScore: z.boolean().default(true),
});
export const defaultSettings: Settings = {
@@ -71,4 +73,5 @@ export const defaultSettings: Settings = {
preStartMode: PreStartMode.None,
showAnimations: true,
useMonarch: false,
showMatchScore: true,
};