play-mine-sweeper

Play MineSweeper in your terminal.

Usage no npm install needed!

<script type="module">
  import playMineSweeper from 'https://cdn.skypack.dev/play-mine-sweeper';
</script>

README

play-mine-sweeper

A game for your terminal.

Usage: npx play-mine-sweeper

Or...

usage: play-mine-sweeper [-h] [-s SIZE] [-m MINES] [--no-emoji-number-space]

Optional arguments:
  -h, --help            Show this help message and exit.
  -s SIZE, --size SIZE  The size of your board.
  -m MINES, --mines MINES
                        The number of mines to place.
  --no-emoji-number-space
                        Terminals are different. This toggles the extra space 
                        off after the numbers in case that works better for 
                        you.