Skip to content

Mr-MRF-Dev/Mr-Minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧨 Mr Minesweeper

GitHub repo size CMake on multiple platforms GitHub License

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.

Screenshot

I recommend using Windows Terminal for the best experience.

📥 Getting Started

To get started with the game, follow these steps:

  1. 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
  2. Navigate to the Project Directory

    cd ./Mr-Minesweeper/src
  3. Compile

    Compile the game using a C compiler. For example, using GCC:

    gcc .\Minesweeper.c -o Minesweeper
  4. Run

    ./Minesweeper.exe

Compile with CMake

after cloning the repository, you can compile the game using CMake:

  1. Navigate to the Project Directory

    cd ./Mr-Minesweeper
  2. Create a build directory

    mkdir build
    cd build
  3. Build the project using the following commands:

    cmake ..
    make

    Or use MinGW MakeFiles by running: (Windows)

    cmake .. -G "MinGW Makefiles"
    mingw32-make
  4. Run Project!

    ./Minesweeper.exe

✨️ Features

  • 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.

🤝 Contributing

we welcome any contributions you may have. If you're interested in helping out, fork the repository and create an Issue and PR.

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

About

🧨 Minesweeper Game in C Programming Language.

Topics

Resources

License

Stars

Watchers

Forks