Attempt to make Tetris with C++ and SDL2
sudo apt install cmake
sudo apt install libsdl2-dev
sudo apt install libsdl2-mixer-dev
sudo apt install libglm-dev
mkdir build
cd build
cmake ..
cmake --build .
./Tetris
Resource | URL | Notes |
---|---|---|
SDL2 documentation | https://wiki.libsdl.org/SDL2/APIByCategory | |
SDL2 tutorial | https://lazyfoo.net/tutorials/SDL/index.php | |
CMake tutorial | https://cmake.org/cmake/help/latest/guide/tutorial/index.html | |
Tetris documentation | https://strategywiki.org/wiki/Tetris/Gameplay | |
Tetris music | https://archive.org/details/TetrisThemeMusic | Loops at 38.67 seconds |
Tetris sound effects | https://www.sounds-resource.com/game_boy_gbc/tetris/sound/45758 |