Skip to content

aadilshabier/memorygame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

memorygame

A simple game written in SDL2 Using C++. Purpose of this project was to learn SDL2 and Game Programming constructs.

Picture of gameplay Picture of end screen

Prerequsites

  • GCC
  • CMake
  • SDL2
  • SDL2_image

Instructions

  1. Clone the repository to your local machine
$ git clone https://github.com/aadilshabier/memorygame.git
$ cd memorygame
  1. Build the project
$ mkdir build
$ cmake -B build
$ make -C build
  1. Run the project
    An executable memorygame is made inside the build directory
$ ./build/memorygame
  1. For future builds, just do:
$ make -C build

Roadmap

  • Check if the game has been won
  • Fix maxxed out CPU usage
  • Make blocks display textures instead of a solid colour
  • Make a starting and ending screen
  • Better game screen (counter, timer, etc)
  • Add background music
  • Make a settings menu

About

Game written in SDL Using C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published