Skip to content

abskrj/Buggy-MineSweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
abhishek.r
Jul 28, 2021
8bb617c Â· Jul 28, 2021

History

4 Commits
Jul 28, 2021
Jul 28, 2021
Jul 28, 2021
Jul 28, 2021
Jul 28, 2021
Jul 28, 2021
Jul 28, 2021

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)