npx mnswpr
npm install -g mnswpr
mnswpr
The interface works with emoji by default. If your terminal doesn't support it, you can either switch to legacy mode by pressing l
button or update your terminal (For Windows I suggest Windows Terminal)
Usage: mnswpr
Press h to show game controls.
Options:
--fullscreen, -F
Run game in fullscreen.
--legacy, -L (or press l)
Legacy mode. Use this if your terminal doesn't support emojis
--quick [b|i|e|width,height,mines], -Q [b|i|e|width,height,mines]
Start game directly with one of the difficulties: [b|i|e]
or a custom field: [width(5-50),height(5-25),mines(1-width*height*0.6)]
Examples:
mnswpr --quick b #start game with beginner difficulty
mnswpr -Q 10,20,60 #start game with custom field width:10 height:20 mines:60