Skip to content

A simple sliding puzzle game made with SDL2. It features a menu to choose difficulty and a stopwatch. It also includes animations for the sliding tiles.

Notifications You must be signed in to change notification settings

ryan-tabar/Sliding-Puzzle-with-SDL2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sliding Puzzle with SDL2

A simple sliding puzzle game made with SDL2. It features a menu to choose difficulty and a stopwatch. It also includes animations for the sliding tiles.

Sliding-Puzzle-gif-1 Sliding-Puzzle-gif-2

Requirements for Linux

Requires the following to be installed:

  • git
  • g++
  • make
  • cmake
  • SDL2
  • SDL2_ttf

On Debian-based systems (including Ubuntu), SDL2 and SDL2_ttf can be installed by doing:

sudo apt-get install libsdl2-dev
sudo apt-get install libsdl2-ttf-dev

More info on SDL installations at https://wiki.libsdl.org/Installation

Run on Linux

git clone --recurse-submodules https://github.com/ryan-tabar/Sliding-Puzzle-with-SDL2.git
cd Sliding-Puzzle-with-SDL2
cmake .
make
./Sliding-Puzzle

Code structure

diagram-of-code-structure

About

A simple sliding puzzle game made with SDL2. It features a menu to choose difficulty and a stopwatch. It also includes animations for the sliding tiles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published