Skip to content

abskrj/Buggy-MineSweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buggy MineSweeper 💣

Tech Used

  1. React
  2. Context API

Logic

  1. Game object is initialised
  2. A biased number generator is used to generate number b/w 0 - 1.
  3. Bias is selected from Difficulty Level
  4. Game Board is saved in a 2D-Array
  5. The board is rendered as HTML Table

Features

  1. Fully Responsive
  2. Dynamic sizing based on row and columns
  3. Row, Column & Difficulty Level Selector
  4. Glassmorphic Design Used
  5. Toast Notification
  6. No 3rd Party Libraries (except for Toast)
  7. React Context API + useReducer (for state management)