From Rosetta Code
Tetris is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.
Create a playable Tetris game.
- a left / right key
- a hard drop key (the current piece will be dropped and locked at once)
- a rotation key
- a preview piece
- full set of 7 kinds of shapes (ITOSZJL)