Skip to content

void-512/MineSweep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple minesweep program

Notice:
Launch with ./MineSweep -h for information with customization of game
Input in the form [row] [col] [cmd] for refresh of the board.
Directly Ctrl + C to quit the program

Features:
1. Decouple input and logic part to prepare for computer solver [in the future]
2. Flexible for extension with abstract data types
3. Support command line arguments to customize board size and number of mines
3. Able to display all adjacent 0 boxes if the chosen box is 0

How to build:
1. git clone https://github.com/void-512/MineSweep.git
2. mkdir MineSweep/build 
3. cd MineSweep/build
4. cmake .. -G "Unix Makefiles"
5. make
6. ./MineSweep [row] [col] [mine]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published