A cool looking Tetris game. Made with SDL2 and OpenGL.
g++
cmake
SDL2
SDL2_ttf
SDL2_Mixer
OpenGL
Install the required dependencies; On Debian:
sudo apt-get install g++ git cmake
sudo apt-get install libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev
Get the sources:
git clone https://github.com/cecco4/cetris.git
Make a build directory
cd cetris
mkdir build
cd build
Configure
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
Compile ("-j" option is available")
make
Install (eventually)
sudo make install
Play (if installed)
cetris
from any directory.
Play (if not installed)
./cetris