Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

mordv/mnswpr

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚩 A Minesweeper game for your terminal written with ReactJS & ink 😎

Run

npx mnswpr

Install globally

npm install -g mnswpr
mnswpr

Supported terminals

legacy mode

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)

Options

Usage: mnswpr

Press h to show game controls.

Options:
  --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

Releases

No releases published

Contributors 3

  •  
  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.