
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.
- 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



- Clone the repository:
git clone https://github.com/DSrinivasKarthik/minesweeper.git
- Navigate to the project directory:
cd minesweeper
- Open
index.html
in a web browser to start playing.
- 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.
- HTML
- CSS
- JavaScript
- jQuery library
- 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].