catslashbin / Minesweeper

A Minesweeper game featuring Material Design, written with SFML.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A Minesweeper game featuring Material Design, written with SFML.

License:MIT License


Languages

Language:C++ 71.7%Language:C 25.3%Language:CMake 1.8%Language:Shell 1.2%