Tetris: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
(Added Go (redirects to separate page for code))
Line 23: Line 23:


See [[Tetris/Ansi94 Forth]].
See [[Tetris/Ansi94 Forth]].

=={{header|Go}}==

See [[Tetris/Go]]


=={{header|Java}}==
=={{header|Java}}==

Revision as of 20:26, 10 February 2020

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.

Ansi94 Forth

See Tetris/Ansi94 Forth.

Go

See Tetris/Go

Java

See Tetris/Java.

JavaScript

See Tetris/JavaScript.

Julia

See Tetris/Julia.

Mathematica

See Tetris/Mathematica.

Microsoft Small Basic

See Tetris/Microsoft Small Basic.

Phix

See Tetris/Phix.