-
build a state for each cell x:, y:, isMine:, nNum:
-
generate random mine positions
-
generate the neighbors of each mine
-
Build a Cell Componet
-
cleanup top our style stylesheets
-
capture clicks on cells
-
adding immer
-
mutate array to new state when cell isRevealed
-
add game state
-
reset game Button
-
clean up code
-
show empty cells
-
reveal the whole grid
-
right click functionality
-
winning strategy
-
[] building a start page
-
[] its all about styling
AmitIsMe/mine_sweeper
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|