Skip to content

DSrinivasKarthik/minesweeper_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesweeper Web App

image

Description

Minesweeper is a classic puzzle game implemented as a web application. The game provides an interactive interface for players to uncover cells on a grid while avoiding hidden bombs. Players must use logic and strategy to reveal safe cells and flag potential bomb locations. This project demonstrates the implementation of the Minesweeper game using HTML, CSS, and JavaScript.

Features

  • Three difficulty levels: Easy, Medium, and Hard
  • Shift + Click functionality to place flags
  • Timer to track the time elapsed
  • Bomb counter to keep track of remaining bombs
  • Responsive design for various screen sizes
  • Customizable fonts and styles

Screenshots

Easy Mode (9x9)

image

Medium Mode (16x16)

image

Hard Mode (30x30)

image

Installation

  1. Clone the repository: git clone https://github.com/DSrinivasKarthik/minesweeper.git
  2. Navigate to the project directory: cd minesweeper
  3. Open index.html in a web browser to start playing.

Usage

  • Choose the desired difficulty level by clicking the corresponding button (Easy, Medium, Hard).
  • Left-click on cells to reveal them. The number displayed indicates adjacent bombs.
  • Right-click (or Shift + Click) on cells to place flags as potential bomb markers.
  • The timer will start once you make your first move. Try to clear the grid without hitting any bombs!
  • The bomb counter displays the number of bombs remaining to be flagged.

Technologies Used

  • HTML
  • CSS
  • JavaScript
  • jQuery library

Credits

  • Images and icons sourced from Pixabay and Flaticon.
  • Fonts used: Digital Dismay, Press Start, MS Sans Serif.

Note: This project was created for educational purposes and personal practice. It is not intended for commercial use.

For questions or inquiries, please contact [email protected].

About

A retro Minesweeper game with modern design and smooth animations in React.js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published