With C++ & SDL2
- Install cmake and sdl2.
sudo apt Install cmake libsdl2-dev
- Install sdl2-image
sudo apt install libsdl2-image-dev
- Install sdl2-ttf
sudo apt-get install libsdl2-ttf-dev
- Install sdl2-mixer
sudo apt-get install libsdl2-mixer-dev
- Clone the repo
git clone https://github.com/mohammed0xff/TETRIS
- Make n Run
cd TETRIS/TETRIS
cmake . && make
./TETRIS
- Open
TETRIS.sln
file - Press
F5
to build and run the program.