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)



Applesoft BASIC

See Tetris/Applesoft BASIC.

Bash

See Tetris/BASH.

Java

See Tetris/Java.

JavaScript

See Tetris/JavaScript.

Mathematica

See Tetris/Mathematica.

Microsoft Small Basic

See Tetris/Microsoft Small Basic.