Skip to content

leon-vv/Tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris

Who doesn't love tetris?
This is a tetris implementation written in C.
It uses nanovg for rendering and thus OpenGL.

Image of the game window

Usage

Dependencies: premake4, glew, glfw3

sudo apt-get install libglew-dev libglfw3-dev premake4
git clone --recursive https://github.com/leon-vv/tetris
make run

The time it takes for a tetronimo to move down, is configurable. Simply pass the amount of seconds a 'step' should take:

./build/tetris 1.23

License

GPL3

About

Tetris implementation in C using Nanovg (OpenGL library)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published