Skip to content

alvinkim101/Tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris

Attempt to make Tetris with C++ and SDL2

Instructions

Install the necessary packages (might need others as well)

sudo apt install cmake

sudo apt install libsdl2-dev

sudo apt install libsdl2-mixer-dev

sudo apt install libglm-dev

Create a build folder in the root directory

mkdir build

cd build

Run CMake

cmake ..

cmake --build .

And finally run the game

./Tetris

Resources

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published