3 stable releases
|1.1.6||Oct 31, 2022|
#27 in Games
22 downloads per month
A mine sweeping game for the console with optional dud mines.
You can specify the field size, amount of mines and amount of duds:
--widthThe width of the field
--heightThe height of the field
--minesAmount of mines on the field
--dudsAmount of duds among the mines
You play the game by either flagging or visiting fields. The game is over, if you stepped onto a mine, which is not a dud, in which case you lose, or you uncover all fields that do not contain a mine, in which case you win.
You can visit fields, which you deem safe, by specifying the x and y coordinate.
2 3 to visit the field at coordinate x=2 and y=3.
You can flag fields under which you suspect a mine by prepending an exclamation
mark to the coordinate. E.g.:
!3 1 to flag the field at coordinate x=3 and y=1.
You can remove a flag from a field by repeating the command, i.e. this command toggles a field's flag.
Uncovering all remaining fields
You can uncover all non-flagged fields by providing two exclamation marks:
Aborting the game
You can abort and quit the game at any time by typing: