Skip to content

ceccocats/cetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cetris

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

cetris-screen

Depends:

g++
cmake
SDL         (1.2) 
SDL_ttf     (1.2)
SDL_Mixer   (1.2)
OpenGL

Compiling on Linux

Install the required dependencies; On Debian:

sudo apt-get install g++ git cmake 
sudo apt-get install libsdl1.2-dev libsdl-ttf2.0-dev libsdl-mixer1.2-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