Rundenzeiten auf 15/30/60 Sekunden ändern
This commit is contained in:
parent
aceb783584
commit
83c36d2052
|
|
@ -11,7 +11,7 @@ Für jede Zielzahl wird sichtbar, wie weit das Kind in den letzten fünf Runden
|
||||||
## Funktionsumfang
|
## Funktionsumfang
|
||||||
|
|
||||||
- Zielzahlen 4 bis 10, einzeln auswählbar
|
- Zielzahlen 4 bis 10, einzeln auswählbar
|
||||||
- Rundenzeit einstellbar (30 / 60 / 90 / 120 Sekunden)
|
- Rundenzeit einstellbar (15 / 30 / 60 Sekunden)
|
||||||
- Sound an/aus über Lautsprecher-Knopf
|
- Sound an/aus über Lautsprecher-Knopf
|
||||||
- Highscore-Anzeige je Zielzahl mit Krone für die beste Runde
|
- Highscore-Anzeige je Zielzahl mit Krone für die beste Runde
|
||||||
- Läuft offline und kann als App installiert werden (PWA)
|
- Läuft offline und kann als App installiert werden (PWA)
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import { writable } from 'svelte/store';
|
import { writable } from 'svelte/store';
|
||||||
import { loadSettings, saveSettings, type Settings } from '../game/persistence';
|
import { loadSettings, saveSettings, type Settings } from '../game/persistence';
|
||||||
|
|
||||||
export const ROUND_SECONDS_OPTIONS = [30, 60, 90, 120] as const;
|
export const ROUND_SECONDS_OPTIONS = [15, 30, 60] as const;
|
||||||
|
|
||||||
const initial: Settings =
|
const initial: Settings =
|
||||||
typeof window === 'undefined'
|
typeof window === 'undefined'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user