Play the classic Minesweeper game in the terminal and have a great time! This is a simple terminal game developed with the C programming language.
I recommend using Windows Terminal for the best experience.
To get started with the game, follow these steps:
-
Clone the Repository
If You Have Git installed:
git clone https://github.com/Mr-MRF-Dev/Mr-Minesweeper.git
If You Have Github CLI installed:
gh repo clone Mr-MRF-Dev/Mr-Minesweeper
-
Navigate to the Project Directory
cd ./Mr-Minesweeper/src
-
Compile
Compile the game using a C compiler. For example, using GCC:
gcc .\Minesweeper.c -o Minesweeper
-
Run
./Minesweeper.exe
after cloning the repository, you can compile the game using CMake:
-
Navigate to the Project Directory
cd ./Mr-Minesweeper
-
Create a build directory
mkdir build cd build
-
Build the project using the following commands:
cmake .. make
Or use MinGW MakeFiles by running: (Windows)
cmake .. -G "MinGW Makefiles" mingw32-make
-
Run Project!
./Minesweeper.exe
- Admin Panel: Gain access to the admin panel to perform administrative tasks.
- Prevent Wrong Inputs: The game prevents invalid inputs to ensure smooth game play.
- Custom Board: Customize the board size and mine count to adjust the difficulty level.
- Etc: Additional features provide an enhanced gaming experience.
we welcome any contributions you may have. If you're interested in helping out, fork the repository and create an Issue and PR.
This project is licensed under the MIT License. See the LICENSE file for details.