The game of Minesweeper built in JavaScript.
In order to build and run the game, follow these steps:
- Run
npm install
to install the dependancies - Run
npm run build
to compile the code - Open
public/index.html
in a web browser - Click on a tile to start
While actively developing, running npm run watch
will watch all the JS files for changes, and recompile as needed.
If TDDing, npm run test-watch
will watch both the src
and the tests
folders for changes and rerun.
Special Thanks to Randall Koutnik's blog post for providing the inspiration and images.
MIT, see LICENSE.txt for full text.