(game): Added Bombs & Flags count

Added placed flags by bombs count. Fix timer startng only when first click is triggered
This commit is contained in:
2024-02-12 16:11:09 +01:00
parent 3a6be56841
commit 9033ef8f68
13 changed files with 259 additions and 46 deletions
+10
View File
@@ -0,0 +1,10 @@
import { atom } from 'recoil';
export const gameStateAtom = atom({
key: 'gameState',
default: {
bombs: 0,
placedFlags: 0,
status: 'idle',
},
});