Cloned Games

Minesweeper (in C)

HaltedPlayableNone

Based on Minesweeper

About

Minesweeper is a logic puzzle game genre, usually played on personal computers, in which the player clears a grid of tiles without detonating hidden mines, using clues about neighboring mines. A command-line Minesweeper game written in C, played by typing short commands with row and column coordinates. It supports digging, flagging, unflagging and a reveal command that digs all neighbors of a numbered cell once its mines are flagged.

How it differs from the original

There is no mouse or graphical board: every action is a typed command such as "d 0,3" to dig or "f 0,3" to place a flag.

Getting started

Build with make, then run the release binary it produces. Enter single-letter commands followed by a row and column; "h" lists the commands and "q" quits.

Additional notes

License
Released under the Revised BSD License.
Share:

We’d like to use analytics cookies to understand how visitors use this site. See our Privacy Policy for details. Nothing else is tracked, and the site works the same either way.