Skip to content

basic tetris implementation for GTK3, SDL1 (with emscripten support) and SDL2

Notifications You must be signed in to change notification settings

gattschardo/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris
------

The game itself should need no explanation. To compile, you need either GTK 3.0
or SDl 2.0 (including development headers) installed. For graphing you need
gnuplot.

Some important settings can be controlled in the main header file tetris.h:
TICK enables oder disables automatic block falling. G_WIDTH and G_HEIGHT
control the size of the game grid (in blocks). H_WIDTH and W_HEIGHT control the
resolution of the game window (SDL version only).

The plotting script creates to graphs, the "valuation" of a the grid situation
(lower is better) and the number of lines consumed (after each move).

About

basic tetris implementation for GTK3, SDL1 (with emscripten support) and SDL2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published