Skip to content

kolyaka32/Minesweeper-on-SDL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The standard "minesweeper" game on c++ using SDL2

This repository contains sources for standart game "minesweeper" I made based on SDL2 library.

Screenshoot of game

Installing

  1. Simply download archieve from releases, unzip and run 'snake.exe'!
  2. Also you can download game installer from releases.
  3. Also you can build project by yourself, watch point 'Instalation for own use'.

Usage

Your goal - to mark all mines at game field. To achieve this at all cells located different digits - numbers of mines near this cell. Depend on this information you can understand, where mines are located and label it using right click. To open cell, you can use left click. Also you can change numbers of width, height and mines count and other usefull things from "settings.ini" file.

Instalation for own use

Need external soft:

  1. C++ compiler (such as GCC, MINGW or MSYS2);
  2. CMake;
  3. External libraries (SDL2, SDL image, SDL mixer, SDL ttf, libzip);
  4. (Optional) Visual Studio Code (for better usage).

Point 4 with all last builded sources is located at releases (Development-kit).

Used external libraries: