/minesweeper-gui

My Introduction-To-Programming course final project - The Minesweeper game with graphical user interface

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Minesweeper GUI

License: GPL v3 Issues Forks Stars Latest release Watchers Last commit

Description

This is my project for my basic programming course at Shahid Beheshti University.

App screenshots1 App screenshots2

Libraries

This program uses sdl and SBDL library

Compile And Run

  1. Clone this project:
$ git clone https://github.com/ILoveBacteria/minesweeper-gui.git
  1. Download SBDL library from here and read the tutorial
  2. Here is a sample CMake:
cmake_minimum_required(VERSION 3.20)
project(Minesweeper)

set(CMAKE_CXX_STANDARD 11)

include_directories(Minesweeper C:/SDL/SDL2/include)
include_directories(Minesweeper C:/SDL/SDL2_image/include)
include_directories(Minesweeper C:/SDL/SDL2_mixer/include)
include_directories(Minesweeper C:/SDL/SDL2_ttf/include)
link_directories(Minesweeper C:/SDL/SDL2/lib/x86)
link_directories(Minesweeper C:/SDL/SDL2_image/lib/x86)
link_directories(Minesweeper C:/SDL/SDL2_mixer/lib/x86)
link_directories(Minesweeper C:/SDL/SDL2_ttf/lib/x86)

add_executable(Minesweeper main.cpp)

target_link_libraries(Minesweeper -std=c++11 -lSDL2main -lSDL2 -lSDL2_image -lSDL2_mixer -lSDL2_ttf)
  1. Compile the project and run

License

This project is using GNU General Public License v3.0

Read full LICENSE here

Last Release

You can download and run the last release from here