Skip to content

About

A minesweeper game in vainilla js.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

Repository files navigation

Minesweeper

A minesweeper game in vainilla js.

Description

This project started as a simple HTML/CSS/JS practice exercise, and now I'm turning it into a practical modular project to improve readability. The first release comes bundled with Sass and Vite, although it may not be functional yet because the bundle has not been configured properly.

Executing program

  • How to run the program
  • Step-by-step bullets
To run the program, follow these steps:

1. Open your terminal or command prompt.
2. Navigate to the directory where the program is stored.
3. Run the following command to compile scripts: 

   npm run build

   This command will compile the scripts without minifying them.

4. Alternatively, run the following command to compile and minify scripts:

   npm run prod

   This command will compile the scripts and also minify them for production use.

Authors

The following contributors have contributed to this project and their contact information:

Version History

  • 0.3.2
    • Completed Pacman style theme.
  • 0.3.1
    • Completed Windows style theme.
  • 0.3.0
    • All the js code has been moduled.
  • 0.2.2
    • Refactoring js style for a better readability.
    • Themes working with some bugs.
  • 0.2.1
    • Refactored CSS of Google style into a scss file.
    • Added preliminary css files from pacman and windows style.
  • 0.2.0
    • Added all the config options with sass code and apply button is working.
  • 0.1.9
    • Fixed bug in explode function using async function.
  • 0.1.8
    • Added config button.
    • Added flags selection icon.
  • 0.1.7
    • Added start again button and win background.
    • Added congrats banner.
  • 0.1.6
    • Added animation on flags for the Google-style theme.
    • Added retry button and lose background.
    • Fixed some bugs.
  • 0.1.5
    • Fixed bug in cell styles.
    • Cleaned up CSS code.
  • 0.1.4
    • Fixed bug in bookmark of mine explosion in animations.
    • CSS code more clean.
  • 0.1.3
    • Fixed some bugs.
    • Improved cleanliness of CSS code.
  • 0.1.2
    • Main animation for cells fixed.
  • 0.1.1
    • solving some simple code bugs.
    • Functionality has started; some issues with the mines bomb animation, but it looks good.
  • 0.1.0
    • Initial Release.
    • Added readme.md and about info.
    • The bundle is not functional yet.

License

This project is licensed under the MIT License -

About

A minesweeper game in vainilla js.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages