Create a playable Tetris game. Requirements: left/right keys, a hard-drop key, a rotation key, a preview piece, and the full set of 7 tetromino shapes (I, T, O, S, Z, J, L).

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

Ansi94 Forth

See [[Tetris/Ansi94 Forth]].

Java

See [[Tetris/Java]].

JavaScript

See [[Tetris/JavaScript]].

Julia

See [[Tetris/Julia]].

Mathematica

See [[Tetris/Mathematica]].

Microsoft Small Basic

See [[Tetris/Microsoft_Small_Basic|Tetris/Microsoft Small Basic]].