Skip to content

jchen985/minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minesweeper

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

About

mine sweeper game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published