This is a simple implementation of the classic game Minesweeper.
Minesweeper is a popular puzzle game where the player's objective is to clear a rectangular board containing hidden mines without detonating any of them. The game is won when all non-mine cells are revealed.
This project aims to provide a fun and interactive Minesweeper game that can be played on your computer.
- Customizable board size and mine count
- Interactive gameplay with left-click to reveal cells and right-click to flag potential mines
- Timer to track your progress
- High score tracking
-
Clone the repository:
git clone https://github.com/sindhupr11/minesweeper.git
-
Navigate to the project directory:
cd minesweeper
-
Install the dependencies:
npm install
To start the game, run the following command:
npm start