- The player chooses the grid dimensions and the number of mines.
- GUI: Left-clicking on a cell reveals it, right-clicking on a cell flags/unflags it.
- CLI: Separate terminal; extra spaces and invalid commands are ignored.
git clone https://github.com/nayel71/minesweeper.git
cd minesweeper/C
make
./main [gui|cli] [width] [height] [mine count]