Implement a classic game — Minesweeper
![deploy screenshot pc](https://private-user-images.githubusercontent.com/44443884/272922970-2c4f5814-05d1-42f9-87fc-58ae8d35d179.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIyNTc4MjMsIm5iZiI6MTcyMjI1NzUyMywicGF0aCI6Ii80NDQ0Mzg4NC8yNzI5MjI5NzAtMmM0ZjU4MTQtMDVkMS00MmY5LTg3ZmMtNThhZThkMzVkMTc5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI5VDEyNTIwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVlYzE5MmRlMzNkYzlhYmI5NDdkMjM5M2ExY2I2NjM1ZmU5YTQ2OTU4YzU0NzgyZTgxY2M1NDUyN2ZlZWYyNzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.y0PLFKyM_n_IwoEQ8rUxPdNmTlVFXie3Ik4xHPGqJPg)
![deploy screenshot mobile](https://private-user-images.githubusercontent.com/44443884/272923623-9130df69-4ba6-4716-8466-192a5bb92fa3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIyNTc4MjMsIm5iZiI6MTcyMjI1NzUyMywicGF0aCI6Ii80NDQ0Mzg4NC8yNzI5MjM2MjMtOTEzMGRmNjktNGJhNi00NzE2LTg0NjYtMTkyYTViYjkyZmEzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI5VDEyNTIwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJmOGVkYWY2MDRiYjVjNGU1OTQ2MTAxYTVkMGIzMTA1NmRiZWU4MTM4YWNjOWU2MmI2OTAzMjM1OWRlZWRmZTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.hhTJjpvKl710bQP9wQtXnXsuzm9CgCkA2WevkoOFi8I)
- JavaScript
- HTML
- SASS
- Vite
- Adaptive layout
- The default size of the frame is 10x10 with 10 mines
- If the cell contains a mine, the game is over
- If the cell does not contain a mine, the number of mines in the surrounding cells displayed
- The game end when the player reveals all cells
- Mines are placed after the first move, so that user cannot lose the game on the first move
- The player can mark cells to indicate that they suspect a mine is present
- The game restarted without reloading the page
- The game include sound effects for events such as revealing a cell, flagging a cell, and game over (win and lose)
- The player can select a difficulty level (easy, medium, hard)
- The latest 10 results are saved in the high score table
- Dark/light themes of the game