An implementation of the game Tetris using C++ and SDL2.
Use the LEFT and RIGHT arrow keys to move the Tetromino
Use the UP and DOWN arrow keys to rotate the Tetromino
Use SPACE to drop down
Use ESC to pause the game
SDL2
SDL_mixer
SDL_ttf
SDL_image
Note that the CMakeLists.txt is set up using hard coded links to the libraries except for SDL2, as the FindSDL_XXX does not work correctly. You may need to update them to compile everything.
Background Music: 'Bit Bit Loop' by Kevin MacLeod
Sound Effects: '8 bit sound effect pack' by OwlishMedia
Font: 'Minimalist Pixel Fonts' by kheftel
The original game Tetris: Alexey Pajitnov
All rights to the franchise Tetris goes to The Tetris Company.
This is just a fan-remake and is in no way associated with the company.