Tetromino
|
A tetromino, also spelled tetramino or tetrimino, is a geometric shape composed of four squares, connected orthogonally. This is a particular type of polyomino, like dominoes and pentominoes are. Sometimes the term is generalized to apply to configurations of four orthogonally connected cubes.
A popular use of tetrominoes is in the video game Tetris.
Counting rotations in two dimensions as equivalent, there are seven possible shapes:
- I (also called "stick", "straight", "long"): four blocks in a straight line
- Missing image
Tetris-o.png
Image:Tetris-o.png
O (also called "square", "package", "block"): four blocks in a 2×2 square - Missing image
Tetris-t.png
Image:Tetris-t.png
T: a row of three blocks with one added below the center. A common move with the T piece is to spin it in place to fill a line. - L: a row of three blocks with one added below the left side
- J (also called "inverted L" or "Gamma"): a row of three blocks with one added below the right side. This piece is a reflection of L but cannot be rotated into L in two dimensions; this is an example of chirality. However, in three dimensions, this piece is identical to L.
- S: bent trimino with block placed on outside of clockwise side
- Z: bent trimino with block added on outside of anticlockwise side. The same symmetry properties as with L and J apply with S and Z.
Adding a third dimension produces three more patterns, all created by placing a unit cube on the bent trimino:
- Missing image
Tetris-lscrew.png
Image:Tetris-lscrew.png
Left screw: unit cube placed on top of anticlockwise side. Chiral in 3D. - Right screw: unit cube placed on top of clockwise side. Chiral in 3D.
- Missing image
Tetris-branch.png
Image:Tetris-branch.png
Branch: unit cube placed on bend. Not chiral in 3D.
However, going to three dimensions means that rotation is allowed in three dimensions. Thus, the two L-shaped and S-shaped pieces are now equivalent.
Some people refer to the pieces by the colour in which they are drawn in a particular implementation of the Tetris game, but those colours vary from implementation to implementation so this is not very sensible. For example, in many older versions of Tetris, the red piece is I.
Piece | Vadim Gerasimov's original Tetris | Microsoft Tetris | The New Tetris |
---|---|---|---|
I | red | red | cyan |
O | blue | cyan | white |
T | brown | gray | yellow |
L | magenta | yellow | magenta |
J | white | magenta | blue |
S | green | blue | green |
Z | cyan | green | red |
Note that the box art of The New Tetris reverses the colors of the L and J pieces and the S and Z pieces.
See also
External links
- Gerasimov, Vadim. "Tetris: the story."; The story of Tetris (http://vadim.www.media.mit.edu/Tetris.htm)
- Building Blocks - A Glossary of Tetris Terms (http://www.tetris.com/building_blocks/glossary.html) — explains the pieces and their current official colors