LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

freesweep

terminal minesweeper game

TLDR

Start a default game
$ freesweep
copy
Set board dimensions
$ freesweep --height [16] --width [30]
copy
Set number of mines
$ freesweep --mines [99]
copy

SYNOPSIS

freesweep [options]

DESCRIPTION

freesweep is a curses-based minesweeper game for the terminal. The player reveals cells on a grid, using number clues to avoid hidden mines. Flagging suspected mines and clearing all safe cells wins the game.Use arrow keys to move, space to reveal a cell, and f to flag a mine. Press q to quit.

PARAMETERS

--height N

Number of rows.
--width N
Number of columns.
--mines N
Number of mines.
--percent N
Set mines as percentage of board.
--fast
Enable fast opening mode.

PREVIEW

 .  .  1  .  .  .
 .  1  2  1  .  .
 .  1  #  .  .  1
 .  1  1  1  .  1

CAVEATS

Requires ncurses support. Board dimensions are limited by terminal size.

HISTORY

freesweep was written as a free terminal minesweeper clone. Minesweeper was popularized by its inclusion in Microsoft Windows 3.1 in 1992.

SEE ALSO

nbmines(6), greed(6)

Copied to clipboard
Kai