A minesweeper clone.
Magawa is a minesweeper clone that I wrote as a just-for-fun project.
Play the live version at simbo.codes/magawa
- first click will always uncover an area and never trigger a mine
(as long as you didn't choose too many mines in custom mode) - start timer on first click
- auto-pause when switching tabs or apps
- flag mines using right-click or alt/shift/ctrl/meta-click
- different difficulties (easy, medium, hard and custom)
- global and personal highscores
- save game settings
- quick restart function
See ToDo for planned features.
# watch, serve and rebuild
npm run dev
# serve in production mode for testing
npm run preview
# build for production
npm run build
...to GitHub Pages is done automatically using GitHub Actions when creating a new version tag.
Use ./release.sh
to create version tags conventiently.
This game is named after the giant pouched rat Magawa, who received a gold medal in september 2020 for its success and bravery in clearing mine fields in Cambodia. (Wikipedia: Magawa)