Tetris: Difference between revisions

From Rosetta Code
Content added Content deleted
(relax requirements)
m (capitalization)
Line 1: Line 1:
{{draft task|Games}}
{{draft task|Games}}


;Task
;task
Create a playable [https://en.wikipedia.org/wiki/Tetris Tetris] game.
Create a playable [https://en.wikipedia.org/wiki/Tetris Tetris] game.
<br><br>
<br><br>
;Requirements
;requirements
* a left / right key
* a left / right key
* a hard drop key (the current piece will be dropped and locked at once)
* a hard drop key (the current piece will be dropped and locked at once)

Revision as of 13:47, 29 September 2017

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

See Tetris/BASH.

Java

See Tetris/Java.

JavaScript

See Tetris/JavaScript.

Microsoft Small Basic

See Tetris/Microsoft Small Basic.