Skip to content

A Minesweeper game featuring Material Design, written with SFML.

License

Notifications You must be signed in to change notification settings

catslashbin/Minesweeper

Repository files navigation

Minesweeper

A Minesweeper game featuring Material Design, written with SFML.

Screenshots

Image 1 Image 2 Image 3
Image 4 Image 5 Image 6

Build & Run

We have tested the game on Ubuntu 22.04 & macOS 13.0.
Win version is not tested, but should act well after some deployments.

Linux (Debian)

  1. Setup C++ env
    sudo apt-get install gcc build-essential make cmake
  2. Install game deps
    sudo apt-get libsfml-dev libspdlog-dev
  3. Build the game
    sh ./build.sh
  4. Run Minesweeper
    cd build
    ./Minesweeper
    

macOS

  1. Download SFML and refer to the official tutorial for installation.

  2. Install the x86_64 version of Homebrew and then install the x86_64 version of spdlog.
    If you are using a device with an M1 chip, please refer to the guide available here.

  3. Compile and run using the following command.

    ./build-macos.sh
    cd build
    ./Minesweeper

License

MIT