Skip to content

my Advanced Programming project - a Puzzle Game built with SDL and C++

Notifications You must be signed in to change notification settings

hoangquocvietuet/PuzzleGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PuzzleGame

my Advanced Programming project - a Puzzle Game built with SDL and C++.

Window building

  • First, install Mingw-w64, my version is GCC-7.3.0 i686-posix-sjlj.
  • Second, download SDL2, SDL2_mixer, SDL2_image, SDL2_ttf. Put all this stuff to a folder named SDL2-dev. Or else, just download my installed library. Set it to C:\SDL2-dev.
  • Third, install GNU MAKE.
  • Fourth, clone this repo. Change directory to src folder. Open cmd and type make -f Makefile_window. It will compile into a program named PuzzleGame.exe.

Linux building

  • First install required packages as dependencies:
    • For Ubuntu, install build-essential via sudo apt update && sudo apt install build-essential.
    • For Arch, use command sudo pacman -Sy base-devel.
  • Second, install SDL2, SDL2_image, SDL2_ttf, SDL2_mixer:
    • For Ubuntu: sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev.
    • For Arch: sudo pacmac -S sdl2 sdl2_ttf sdl2_mixer sdl2_image.
  • CD to src, run make -f Makefile_linux && ./PuzzleGame

  • Now enjoy the game..!😍😎😎

Project Structure

  • assets/: Game assets, contains images, text files, music files.
  • src/: Source code of the project implementation.

Game overview


Gameplay


About

my Advanced Programming project - a Puzzle Game built with SDL and C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published