Skip to content

matefernandezcc/minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Minesweeper ๐Ÿ•น๏ธ๐Ÿ’ฃ

Welcome to Minesweeper JS, a classic and enhanced version of the famous minesweeping game, developed 100% in JavaScript!


๐Ÿš€ About the project

This repository contains an implementation of the classic Minesweeper using modern JavaScript (ES6+), HTML, and CSS.
The game is designed to be:

  • Easy to play and understand.
  • Clear and modular code to help learn web programming.
  • A solid base to add features and customize as you like.

๐ŸŽฏ Main features

  • Dynamic board (configurable size and number of mines).
  • Interaction with left clicks (reveal cell) and right clicks (mark flag).
  • Complete logic to count neighboring mines and recursively reveal empty spaces.
  • State control: win, lose, and game in progress.
  • Responsive design with a simple but effective look.

๐Ÿ› ๏ธ Technologies used

  • JavaScript (ES6+ with arrow functions, let/const, events, and DOM manipulation).
  • HTML5 for structure.
  • CSS3 for styles and simple animations.

๐Ÿ“ฆ How to use it

You can try the game live here:
https://matefernandezcc.github.io/minesweeper

Or clone the repository:

git clone https://github.com/matefernandezcc/minesweeper.git

About

Classic Minesweeper game built with modern JavaScript, HTML, and CSS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published