Tetris

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.
Task

Create a playable Tetris game.

Requirements
  • 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)



Bash[edit]

See Tetris/BASH.

Java[edit]

See Tetris/Java.

JavaScript[edit]

See Tetris/JavaScript.

Microsoft Small Basic[edit]

See Tetris/Microsoft Small Basic.