agforero / TMinesweeper

Terminal-based Minesweeper program, written in C++.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TMinesweeper

Terminal-based Minesweeper program, written in C++.

This program requires the use of the g++ compiler:

  • On UNIX systems, run g++ --version to check for g++'s presence.
  • On MacOS, run sudo apt get g++ to install the MacOS developer tools, including git, make and g++. You can check for the presence of these commands by running <command> --version.
  • On Windows systems, instructions can be found here, or here if you prefer video format.

To compile:

  • On UNIX and MacOS systems, after cding into the directory, run make to build the executable.
  • On Windows, either run setup.bat, or from a PowerShell cd'd into the directory, run ./setup.

Then, run ./mine h w p, where

  • h is height,
  • w is width, and
  • p is percentage of the board covered in mines.

Instructions on how to play provided in the executable.

Icon created using asset from toicon's open icon repository.

logo

About

Terminal-based Minesweeper program, written in C++.

License:MIT License


Languages

Language:C++ 99.5%Language:Makefile 0.3%Language:Batchfile 0.3%