Wall kick: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
No edit summary
*>Tepples
(SRS specific info belongs in SRS.)
Line 35: Line 35:
*[[SRS]], the Super Rotation System used by games that follow the [[Tetris Guideline]]
*[[SRS]], the Super Rotation System used by games that follow the [[Tetris Guideline]]
*The rotation system of ''[[DTET]]'', a fan game with a complex but unarbitrary wall/floor kick algorithm
*The rotation system of ''[[DTET]]'', a fan game with a complex but unarbitrary wall/floor kick algorithm
[http://www.din.or.jp/~koryan/tetris/index_cj.htm Koryan] as well as [http://www.the-shell.net/img/srs_study.html Jagorochi] researched the [[SRS]] system thoroughly and made diagrams of how SRS finds wallkicks.


The complete system for a number of ''[[Tetris]]'' games exists in wktables.c within the open-source fan game ''[[Lockjaw]]''.
The complete system for a number of ''[[Tetris]]'' games exists in wktables.c within the open-source fan game ''[[Lockjaw]]''.

Revision as of 04:07, 25 December 2006

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.

Tet.pngtTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngttTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngtTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngGGg
Tet.pngTet.pnggggTet.pngGGgg
Tet.pngggGGGGGGG

Here T can rotate

tTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
ttTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
tTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngGGg
Tet.pngTet.pnggggTet.pngGGgg
Tet.pngggGGGGGGG

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 then fail.

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

The complete system for a number of Tetris games exists in wktables.c within the open-source fan game Lockjaw.