ramyaDhanush / Minesweeper-vanilla-js

Minesweeper game is developed using vanilla Javascript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minesweeper-vanilla-js

Minesweeper game is developed using vanilla Javascript.

image

Demo

Instructions
Use the left click button on the mouse to select a space on the grid. If you hit a _bomb_, you lose❌.

The numbers on the board represent how many bombs are adjacent to a square.
For example, if a square has a "3" on it, then there are 3 bombs next to that square.
The bombs could be above, below, right left, or diagonal to the square.

Avoid all the bombs and expose all the empty spaces to win Minesweeper.

Tips
  1. Use the numbers to determine where you know a bomb is.

  2. You can right click a square with the mouse to place a flag where you think a bomb is. This allows you to avoid that spot.

About

Minesweeper game is developed using vanilla Javascript.


Languages

Language:JavaScript 72.7%Language:CSS 18.1%Language:HTML 9.2%