✨ (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:
@@ -0,0 +1,10 @@
|
||||
import { atom } from 'recoil';
|
||||
|
||||
export const gameStateAtom = atom({
|
||||
key: 'gameState',
|
||||
default: {
|
||||
bombs: 0,
|
||||
placedFlags: 0,
|
||||
status: 'idle',
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user