Piece: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
*>Tepples
(→‎Polyominoes: we finally have an article about that one)
*>NightmareciBot
m (Robot: Converting to new playfield syntax...)
Line 18: Line 18:
== Hinged polyominoes ==
== Hinged polyominoes ==
{| align="right"
{| align="right"
|{{pfstart}}
|<playfield>
{{pfrow| | | | | | | | | | }}
..........
{{pfrow| | |Z|J|J| | | | | }}
..ZJJ.....
{{pfrow| | | | | |O| | | | }}
.....O....
{{pfrow| | | | | | | | | | }}
..........
{{pfrow| | |Z|J| | | | |O| }}
..ZJ....O.
{{pfrow| |O| | | | |Z|Z| | }}
.O....ZZ..
{{pfrow| |O| | | | | | |J| }}
.O......J.
{{pfrow| | | | | | | | | | }}
..........
{{pfend}}
</playfield>
|-
|-
| Hinged tetrominoes<br>in ''Tetris 2''
| Hinged tetrominoes<br>in ''Tetris 2''

Revision as of 03:39, 5 August 2009

A piece in Tetris and similar games is a geometric shape consisting of a set of blocks that is moved as a unit. A block is the part of a piece that fills one unit of the playfield. In some games, all blocks that make up a piece are colored the same; in others, especially falling piece games other than Tetris and its clones, they are colored differently.

Polyominoes

A polyomino is a piece made of two or more square blocks, where all blocks are connected through full coincident edges (as if squares on graph paper).

  • A free polyomino is one that may be translated (moved about), rotated, or reflected.
  • A one-sided polyomino is one that may be translated or rotated.
  • A fixed polyomino can only be translated.

Polyominoes come in several sizes:

Polyominoes are often named by a Latin letter that resembles the shape of the polyomino. For instance, an "I" has all its blocks in a straight line, and a "T" consists of an "I" tromino with one or more blocks in a straight line connected to one side of the center of the "I".

Hinged polyominoes

..........
..ZJJ.....
.....O....
..........
..ZJ....O.
.O....ZZ..
.O......J.
..........
Hinged tetrominoes
in Tetris 2

A hinged polyomino or polyplet[1] is similar to a polyomino but also allows connections at a point. In games that use hinged polyominoes, a piece may break apart at the diagonal connections when it lands, and the fragments may or may not be controllable afterward.

Other polyforms

Hextris and Bikaka are variants of Tetris that use 4-cell polyhexes, or pieces created from regular hexagons.[2] Bubble Bath Babes uses polyhexes that may be reflected around the X or Y axis but not rotated.

See also

External links