Popularity
2.0
Declining
Activity
0.0
Stable
4
1
0

Description

minesweeper --width 30 --height 16 --mines 100 Controls h, j, k, l or arrows to move the cursor m to mark/unmark a cell as mined Space to open a cell ?, / to mark/unmark a cell as suspicious Enter or d to open cells around

Monthly Downloads: 23
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Console     Game     Brick    

Minesweeper alternatives and similar packages

Based on the "Game" category.
Alternatively, view Minesweeper alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Minesweeper or a related project?

Add another 'Game' Package

README

Minesweeper

This is a console version of Minesweeper written in Haskell.

Install

First install Stack.
https://docs.haskellstack.org/en/stable/README/

git clone [email protected]:DKurilo/minesweeper.git
cd ./minesweeper
stack build
stack install

Run

> minesweeper --help
Minesweeper
Default options: --width 10 --height 10 --mines 10

Usage: minesweeper [--width INT] [--height INT] [--mines INT]

Available options:
  -h,--help                Show this help text
  --width INT              Board width
  --height INT             Board height
  --mines INT              Mines amount

Or just

minesweeper --width 30 --height 16 --mines 100

Controls

h, j, k, l or arrows to move the cursor
m to mark/unmark a cell as mined
Space to open a cell
?, / to mark/unmark a cell as suspicious
Enter or d to open cells around