krisl / cetris

3d Tetris game with SDL and OpenGL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cetris

A cool looking Tetris game. Made with SDL2 and OpenGL.

cetris-screen

Depends:

g++
cmake
SDL2
SDL2_ttf
SDL2_Mixer
OpenGL

Compiling on Linux

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

About

3d Tetris game with SDL and OpenGL

License:GNU General Public License v2.0


Languages

Language:C++ 98.7%Language:CMake 1.3%