/js-campominato

Minesweeper game

Primary LanguageJavaScript

Minesweeper

Minesweeper game

Technologies and libraries

  • Html
  • Css
  • Javascript

Workflow

#1 Generate 16 unique ramdom numbers from 1 to 100 (bombs).
#2 Ask to insert a number from 1 to 100. If the number is included in the array of bombs, you loose.
#2 Print the score.
BONUS At the beginning, you can choose the difficulty using a switch.