/minesweeper

My implementation of the popular game Minesweeper

Primary LanguageJavaScriptMIT LicenseMIT

Minesweeper Build Status

The game of Minesweeper built in JavaScript.

Setup

In order to build and run the game, follow these steps:

  1. Run npm install to install the dependancies
  2. Run npm run build to compile the code
  3. Open public/index.html in a web browser
  4. Click on a tile to start

Development

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

Special Thanks to Randall Koutnik's blog post for providing the inspiration and images.

License

MIT, see LICENSE.txt for full text.