nbmines
Benchmark GPU performance for cryptocurrency mining
SYNOPSIS
nbmines [-h] [-v] [-d DIFFICULTY] [-r ROWS] [-c COLS] [-n MINES]
PARAMETERS
-h
Displays a help message and exits.
-v
Shows version information and exits.
-d DIFFICULTY
Sets the game's difficulty level. Common values include easy, medium, and hard, which configure predefined board sizes and mine counts.
-r ROWS
Specifies the number of rows for the custom game board. Must be a positive integer.
-c COLS
Specifies the number of columns for the custom game board. Must be a positive integer.
-n MINES
Specifies the total number of mines to be placed on the board. Must be a positive integer less than the total number of squares (ROWS * COLS).
DESCRIPTION
nbmines is a faithful, terminal-based implementation of the classic Minesweeper puzzle game. Leveraging the ncurses library, it provides a graphical user interface within your command-line environment, offering a nostalgic and challenging experience for users who prefer console applications.
Players navigate a grid of hidden squares using keyboard controls, aiming to uncover all non-mine squares while avoiding detonation. The game allows for custom board dimensions and mine counts, or players can opt for predefined difficulty levels. It's a lightweight yet engaging way to pass the time directly in your shell.
CAVEATS
nbmines requires a terminal emulator with ncurses support. Its interface is entirely keyboard-driven, which might require a brief learning curve for controls (e.g., arrow keys for movement, 'f' to flag, 'enter' to reveal). It is not suitable for touch-only environments.
<I>GAMEPLAY CONTROLS</I>
Within the game, typical controls include:
Arrow Keys: Move cursor.
'f' or Spacebar: Flag/unflag a potential mine.
Enter or 'c': Clear (reveal) the current square.
'q': Quit the game.
HISTORY
nbmines is a relatively widespread open-source project, often included in standard Linux distribution repositories. While a detailed specific development history is not widely documented, it represents a common genre of terminal-based games designed to bring classic experiences to the command line environment using the ncurses library. Its existence is a testament to the versatility of terminal applications.
SEE ALSO
ncurses(3), vitetris(6), ninvaders(6)