Skip to content

sindhupr11/Minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesweeper

This is a simple implementation of the classic game Minesweeper.

Image Description

Table of Contents

Introduction

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.

Features

  • 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

Installation

  1. Clone the repository:

    git clone https://github.com/sindhupr11/minesweeper.git
  2. Navigate to the project directory:

    cd minesweeper
  3. Install the dependencies:

    npm install

Usage

To start the game, run the following command:

npm start