Skip to content

valentindotxyz/minesweeper

Repository files navigation

Minesweeper

Getting Started and Submission

Please fork this repository and when ready to submit, create a Pull Request.

Installation

It assumes you have the latest node and yarn installed.

yarn install
yarn dev
open http://localhost:1234

Rules

The rules are pretty simple

  • Player can left click to reveal square.
  • Player can right click to flag square as mine.
  • The number tells how many mines are in the immediate neighborhood.
  • The goal is to reveal or flag all squares without revealing a mine.