freesweep
terminal minesweeper game
TLDR
Start a default game
$ freesweep
Set board dimensions$ freesweep --height [16] --width [30]
Set number of mines$ freesweep --mines [99]
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
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.
