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

-h, --height N

Number of rows.
-w, --width N
Number of columns.
-m, --mines N
Number of mines.
-%, --percent N
Set mines as percentage of board squares.
-f, --fast
Skip the interactive setup dialog.
-i, --interactive
Force interactive setup menu.
-a, --alt-charset
Toggle alternate character set for rendering.
-b, --show-best-times
Show the best-times viewer.
-s, --save-prefs
Save the current command-line preferences.
-H, --help
Display help information.

PREVIEW

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

INSTALL

nix profile install nixpkgs#freesweep
copy

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)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid