Wall kick: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
*>Jujubo
Undo revision 11684 by 209.237.227.133 (Talk)
*>NightmareciBot
m Robot: Converting to new playfield syntax...
Line 2: Line 2:
{|
{|
|- valign="top"
|- valign="top"
|{{pfstart}}
|<playfield>
{{pfrow| |t| | | | | | | | }}
.T........
{{pfrow| |t|t| | | | | | | }}
.TT.......
{{pfrow| |t| | | | | | | | }}
.T........
{{pfrow| | | | | | | | | | }}
..........
{{pfrow| | | | | | | | | | }}
..........
{{pfrow| | | | | | | | | | }}
..........
{{pfrow| | | | | | | |G|G|g}}
.......GGG
{{pfrow| | |g|g|g| |G|G|g|g}}
..GGG.GGGG
{{pfrow| |g|g|G|G|G|G|G|G|G}}
.GGGGGGGGG
{{pfend}}
</playfield>
Here ''T'' can rotate
Here ''T'' can rotate
|{{pfstart}}
|<playfield>
{{pfrow|t| | | | | | | | | }}
T.........
{{pfrow|t|t| | | | | | | | }}
TT........
{{pfrow|t| | | | | | | | | }}
T.........
{{pfrow| | | | | | | | | | }}
..........
{{pfrow| | | | | | | | | | }}
..........
{{pfrow| | | | | | | | | | }}
..........
{{pfrow| | | | | | | |G|G|g}}
.......GGG
{{pfrow| | |g|g|g| |G|G|g|g}}
..GGG.GGGG
{{pfrow| |g|g|G|G|G|G|G|G|G}}
.GGGGGGGGG
{{pfend}}
</playfield>
Here ''T'' cannot rotate without a wall kick
Here ''T'' cannot rotate without a wall kick
|}
|}

Revision as of 03:49, 5 August 2009

A wall kick happens when a player rotates a piece when no space exists in the squares where that tetromino would normally occupy after the rotation. To compensate, the game sets a certain number of alternative spaces for the tetromino to look. Wall kicks started appearing in games because after a piece would be backed up against the wall, it would awkwardly be unable to rotate until first moving back.

.T........
.TT.......
.T........
..........
..........
..........
.......GGG
..GGG.GGGG
.GGGGGGGGG

Here T can rotate

T.........
TT........
T.........
..........
..........
..........
.......GGG
..GGG.GGGG
.GGGGGGGGG

Here T cannot rotate without a wall kick

The simplest wall kick algorithm, used (with variations) by TGM rotation and several fan games in the same tradition, is to try moving the tetromino one space to the right, and then one space to the left, and fail if neither can be done. Wall kicks increase the number of possible twists.

Other notable rotation systems that include wall kick and/or floor kick include the following:

Data tables describing systems for a number of Tetris games exist in the source code of several fan games, such as Heboris Unofficial Expansion, syoboris or Lockjaw.

External links