Skip to content

simbo/magawa

Repository files navigation

🐀 Magawa - The Game!

package.json version CI Workflow Status Play Magawa

A minesweeper clone.


About

Magawa is a minesweeper clone that I wrote as a just-for-fun project.

Play the live version at simbo.codes/magawa

Features

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

Development

# watch, serve and rebuild
npm run dev

# serve in production mode for testing
npm run preview

# build for production
npm run build

Deployment

...to GitHub Pages is done automatically using GitHub Actions when creating a new version tag.

Use ./release.sh to create version tags conventiently.

Trivia

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)

Magawa

License and Author

MIT © 2020 Simon Lepel