minesweeper-cli.js

1.0.2 • Public • Published

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

/minesweeper-cli.js/

    Package Sidebar

    Install

    npm i minesweeper-cli.js

    Weekly Downloads

    0

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    20.6 kB

    Total Files

    9

    Last publish

    Collaborators

    • thormeier