Skip to content

thormeier/minesweeper.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesweeper JS

A simple emoji based Minesweeper clone, playable on the CLI!

A screenshot of the Minesweeper.js CLI

Usage

Download by cloning this repository, start it by running node minesweeper.js or executing npx minesweeper-cli.js

Arguments

  • --width=number - Width of the field, defaults to 8
  • --height=number - Height of the field, defaults to 8
  • --mines=number - Number of mines to place on the board, defaults to 10

Detailed explanation

See my post over on dev.to/thormeier!

License

MIT