Programs
Tetris Source Code
 previous   up   next 

Tetris is a classic puzzle game originally designed in 1985.

The object is to place tetrominoes which are falling down the playing field. A tetromino is a geometric shape composed of four connected squares. The tetrominos are randomly chosen and fall down one by one. The falling speed depends on the severity level and increases with time. The currently falling tetromino is controlled with the cursor keys:

  • The horizontal cursor keys move it sideways.
  • The cursor up key rotates it counterclockwise by 90 degrees.
  • The cursor down key makes it fall down instantly.
When a horizontal line of blocks without gaps is created, it disappears, and any block above the deleted line will fall down.

The Seed7 package contains two versions of the Tetris game: A graphical version (tetg.sd7) and a text only version (tet.sd7).


Tetris

Tetris

Tetris Textversion

 previous   up   next