minesweeper-cli.js
v1.0.2
Published
A simple CLI minesweeper clone
Downloads
4
Readme
Minesweeper JS
A simple emoji based Minesweeper clone, playable on the 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 to8
--height=number
- Height of the field, defaults to8
--mines=number
- Number of mines to place on the board, defaults to10
Detailed explanation
See my post over on dev.to/thormeier
!
License
MIT