Save score in IndexedDB

This commit is contained in:
2024-02-18 15:17:23 +01:00
parent 8219634b9c
commit 2b29a8e4b2
6 changed files with 69 additions and 6 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
export type Difficulty = 'beginner' | 'intermediate' | 'expert';
export type CellValue = 'empty' | 'bomb' | number;
export type GridType = { hidden: boolean; value: CellValue; flag: boolean }[][];
export type LeaderBoardItem = { date: string; time: `${number | ''}${number}m ${number}${number}s` };
export type LeaderBoardItem = { date: string; time: string };