A tetris game made in C with SDL2. Mostly made for practice. Also so I can play tetris for free.
Press Esc to close the game.
I do not own Tetris nor any of it's assets. All rights reserved to The Tetris Company LLC. The code on the other hand, is mine.
You must have GCC and the SDL library installed.
gcc -o tetris tetris.c -lSDL2 -lSDL2_image
Double click the tetris file or run ./tetris in the directory it's in.
Being worked on. I'll likely make the executable myself for the bigger updates, so it wouldn't always be up to date.
I don't own a Mac so have fun.
The left arrow goes left, the right arrow goes right, and the only way to rotate is the up arrow.
I am still learning, so if you plan on adding something or optimizing code I would be thankful if you explained why your way is better.
This project is under the GNU GPLv3 license.