Skip to content

mohammed0xff/TETRIS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TETRIS

With C++ & SDL2

Demo

How to run

On Linux :

  • 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 

On Windows :

  • Open TETRIS.sln file
  • Press F5 to build and run the program.