A mine sweeper game generated and played by the terminal.
It's written in javaScript.
The ES6 version is in src and the ES5 version(transpilation by npm packages) is in lib.
// To play Minesweeper, instances of MineSweeperGame will be generated in command line.
// For example:
// In the command line, navigate to the lib directory and run node
// Run .load game.js to load the contents of this file.
// Then create a Game instance and run commands like so:
// let game = new Game(3, 3, 3);
// game.playMove(0, 1);
// game.playMove(1, 2);
// When done run .exit