SRS

The Super Rotation System, also known as SRS and Standard Rotation System is the current Tetris Guideline standard for how tetrominoes behave, defining where and how the tetrominoes spawn, how they rotate, and what wall kicks they may perform. SRS traces its routes back to 1991 when BPS introduced its signature third and fourth rotation states for the S, Z, and I tetrominoes in the game Tetris 2 + BomBliss. Two years later, in the game Tetris Battle Gaiden, BPS altered the spawn orientation of the T, L, and J tetrominoes so that they spawned flat-side first. It was not until the 2001 game, Tetris Worlds, that the wall kick system was introduced, and SRS took its final form. Henk Rogers, in his effort to unify all new Tetris games into the Tetris Guideline, required Arika to include a form of SRS in their 2005 game, Tetris The Grand Master 3 Terror-Instinct, where it is called "World" rule, in reference to Tetris Worlds.

Spawn Orientation and Location
The spawn orientations are included in the diagram on the right.
 * All tetrominoes spawn horizontally and wholly above the playfield.
 * The I and O tetrominoes spawn centrally, and the other, 3-cell wide tetrominoes spawn rounded to the left.
 * The tetrominoes spawn pointing up.
 * In Tetris Worlds, the tetrominoes spawn in rows 22 and 23 (or just row 22 in the case of the "I" tetromino), however, in later games the tetrominoes spawn 1 row lower.

Color Scheme and Block Style
SRS uses the "ice" block style. The colors are shown below.

Basic Rotation
The basic rotation states are shown in the diagram on the right. Some points to note:
 * When unobstructed, the tetrominoes all appear to rotate purely about a single point. These apparent rotation centers are shown as circles in the diagram.
 * It is a pure rotation in a mathematical sense, as opposed to the combination of rotation and translation found in other systems such as Sega Rotation and Atari Rotation.
 * As a direct consequence, the J, L, S, T and Z tetrominoes have 1 of their 4 states (the spawn state) in a "floating" position where they are not in contact with the bottom of their bounding box.
 * This allows the bounding box to descend below the surface of the stack (or the floor of the playing field) making it impossible for the tetrominoes to be rotated without the aid of floor kicks.
 * The S, Z and I tetrominoes have two horizontally oriented states and two vertically oriented states. It can be argued that having two vertical states leads to faster finesse.
 * For the "I" and "O" tetrominoes, the apparent rotation center is at the intersection of gridlines, whereas for the "J", "L", "S", "T" and "Z" tetrominoes, the rotation center coincides with the center of one of the four constituent minos.

Wall Kicks
SRS has super wallkicks. When the player attempts to rotate a tetromino, but the position it would normally occupy after basic rotation is obstructed, (either by the wall or floor of the playfield, or by the stack), the game will attempt to "kick" the tetromino into an alternative position nearby. Some points to note:
 * When a rotation is attempted, 5 positions are sequentially tested (inclusive of basic rotation); if none are available, the rotation fails completely.
 * Which positions are tested is determined by the initial rotation state, and the desired final rotation state. Because it is possible to rotate both clockwise and counter-clockwise, for each of the 4 initial states there are 2 final states. Therefore there are a total of 8 possible rotations for each tetromino and 8 sets of wall kick data need to be described.
 * The positions are commonly described as a sequence of ( x, y) kick values representing translations relative to basic rotation; a convention of positive x rightwards, positive y upwards is used, e.g. (-1, 2) would indicate a kick of 1 cell left and 2 cells up.
 * The J, L, T, S, and Z tetrominoes all share the same kick values, the I tetromino has its own set of kick values, and the O tetromino does not kick.
 * Several different conventions are commonly used for the naming of the rotation states. On this page, the following convention will be used:
 * 0 = spawn state
 * 1 = state resulting from a clockwise rotation ("right") from spawn
 * 2 = state resulting from 2 successive rotations in either direction from spawn.
 * 3 = state resulting from a counter-clockwise ("left") rotation from spawn

¹ This kick is impossible with the t-tetrimino because if it fits, basic rotation fits too, so basic rotation is used.

A wall kick example: The desired rotation is 0>>3, and from the table above, the wall kick test order is basic rotation, ( 1, 0), ( 1, 1), ( 0,-2), ( 1,-2).

{| cellpadding="2" style="border:1px solid darkgray;" 1. Initial position. Attempt to rotate 0>>3.
 * - valign=top
 * width="200pt"|
 * width="200pt"|

2. Test 1, basic rotation fails. 3. Test 2, ( 1, 0) fails.
 * width="200pt"|
 * }

{| cellpadding="2" style="border:1px solid darkgray;"
 * - valign=top
 * width="200pt"|

4. Test 3, ( 1, 1) fails. 5. Test 4, ( 0,-2)</tt> fails.
 * width="200pt"|
 * width="200pt"|

6. Final position. Test 5, ( 1,-2)</tt> succeeds.
 * }

180° rotation (NullpoMino only)
In Nullpomino, this is the 180° rotation kick table, taken directly from the standard wall kick data code: https://github.com/JoshuaWebb/nullpomino/blob/master/src/mu/nu/nullpo/game/subsystem/wallkick/StandardWallkick.java

private static final int WALLKICK_NORMAL_180[][][] = {		{{ 1, 0},{ 2, 0},{ 1, 1},{ 2, 1},{-1, 0},{-2, 0},{-1, 1},{-2, 1},{ 0,-1},{ 3, 0},{-3, 0}},	// 0>>2─┐		{{ 0, 1},{ 0, 2},{-1, 1},{-1, 2},{ 0,-1},{ 0,-2},{-1,-1},{-1,-2},{ 1, 0},{ 0, 3},{ 0,-3}},	// 1>>3─┼┐		{{-1, 0},{-2, 0},{-1,-1},{-2,-1},{ 1, 0},{ 2, 0},{ 1,-1},{ 2,-1},{ 0, 1},{-3, 0},{ 3, 0}},	// 2>>0─┘│		{{ 0, 1},{ 0, 2},{ 1, 1},{ 1, 2},{ 0,-1},{ 0,-2},{ 1,-1},{ 1,-2},{-1, 0},{ 0, 3},{ 0,-3}},	// 3>>1──┘	};	private static final int WALLKICK_I_180[][][] = {		{{-1, 0},{-2, 0},{ 1, 0},{ 2, 0},{ 0, 1}},													// 0>>2─┐		{{ 0, 1},{ 0, 2},{ 0,-1},{ 0,-2},{-1, 0}},													// 1>>3─┼┐		{{ 1, 0},{ 2, 0},{-1, 0},{-2, 0},{ 0,-1}},													// 2>>0─┘│		{{ 0, 1},{ 0, 2},{ 0,-1},{ 0,-2},{ 1, 0}},													// 3>>1──┘ };

In tetr.js, 180° rotation is 2 clockwise rotations.

In Tetris Perfect, 180° SRS rotation has no kicks.

Soft/Hard drops
SRS uses a non-locking soft drop, and a locking hard drop.

Arika SRS
In their games Tetris The Grand Master 3 Terror-Instinct and Tetris The Grand Master Ace, Arika were required to include a form of SRS as the default rotation system, in order to conform more closely to Henk Rogers' Tetris Guideline. Arika's implementation of SRS uses the exact same wall kick data for the J, L, S, T and Z tetrominoes as the Guideline's standard; however, the I tetromino uses the wall kick data shown below:

This is also used in Tetris Perfect.

The logic behind Arika's modifications is that the I wall kicks are now symmetric about the y-axis when rotating from or to a horizontal orientation. One noticeable consequence of this is illustrated in the following example:

{| cellpadding="2" style="border:1px solid darkgray;"
 * - valign=top
 * width="150pt"|


 * width="350pt"|In the symmetric position, only Arika SRS allows the clearing of 4 lines by rotating counter-clockwise.
 * }

How Guideline SRS Really Works


Instead of directly assigning a set of ( x, y)</tt> kick translations to each of the 8 possible rotations, TTC actually employed a different approach, and instead assigned a set of ( x, y)</tt> "offset" values to the 4 rotation states. The kick translations are then derived by taking the difference between pairs of offset data. When rotating from A to B, subtracting B's values from A's will give the kick translation for the rotation one way; and subtracting A's values from B's will give the kick translation for rotating back the other way.

There is another complexity to TTC's implementation: the derived translations are relative to a different datum. So far on this page, kick translations have been defined relative to "basic rotation", but TTC uses what forum user nightmareci has named "true rotation". "True rotation" is still a mathematical pure rotation with no translation involved; however, the rotation center always coincides with the center of one of the four constituent minos. (Recall that the apparent rotation center of the I and O tetrominoes in basic rotation coincided with the intersection of gridlines). This means that for "true rotation", the rotation center for the O piece is not at the geometric center, so the piece will have a "wobble" when rotated. The first kick translation has to be used to correct for this wobble.

This "true rotation" is also used in Tetris Best, but it uses different kicks, and the "wobble" is not corrected, so O-spins can be done.

However, "true rotation" is not used in Tetris Perfect's SRS. I piece has standard rotation center, and O rotation is entirely removed in SRS rotation.

An example of deriving kick translations from the offsets:

The offsets for J, rotation state 0 are: true rotation, true rotation, true rotation, true rotation, true rotation. The offsets for J, rotation state 1 are: true rotation, ( 1, 0)</tt>, ( 1,-1)</tt>, ( 0, 2)</tt>, ( 1, 2)</tt>.

true rotation - true rotation = true rotation, true rotation - ( 1, 0)</tt> = (-1, 0)</tt>, true rotation - ( 1,-1)</tt> = (-1, 1)</tt>, true rotation - ( 0, 2)</tt> = ( 0,-2)</tt>, true rotation - ( 1, 2)</tt> = (-1,-2)</tt>.

Therefore, the kick translations for the J rotation 0>>1, relative to "true rotation" (which is conveniently the same as "basic rotation" for the J tetromino), are: true rotation, <tt>(-1, 0)</tt>, <tt>(-1, 1)</tt>, <tt>( 0,-2)</tt>, <tt>(-1,-2)</tt>.

These offsets are not confirmed to appear in Arika's srs though

Wall Kicks Illustration
SRS wall kicks are symmetric for all pieces but the I piece. That means for the mirrored playfield and mirrored piece ( J &harr; L piece, S &harr; Z piece, L &harr; R rotation state), the equivalent kick (same y value, opposite sign for x value) will appear. Thus for all pieces but the I piece, the kick system can be completely described by just examining clockwise rotation.

Criticism
The Super Rotation System, and with it associated Move Reset Lock delay, is criticized by a large amount of players. SRS is suitable for multiplayer but causes problems in modes with significant gravity effect such as Marathon. In the following we will list advantages and disadvantages of using SRS.

pro:


 * Pieces rotate very smoothly under no gravity. The piece rotates to the position where an unexperienced player would expect it.


 * SRS uses kicks that may move a piece to an otherwise unreachable location.


 * More of these can be done in Tetris Best, like the wrong t-spin triple.


 * Move Reset and kicks allow quite interesting multiplayer rules and T-spin setups. Players often have to make gaps narrower such that certain filled cells serve as leverage point and the piece is kicked in downward direction.


 * The four rotation states of S, Z and I pieces allow to utilize Finesse and make some moves possible that don't require kicks.


 * Most spins can be reversed. That means for most kicks, there exists a kick in the other direction.

contra:


 * SRS uses Up spawning direction (pieces spawn flatside down). If a non-rotated piece hits a perfectly even ground, it can't be rotated anymore without an upward kick being used. Note that this problem wouldn't exist, if the pieces spawned in Down direction or if the Up rotation state would be moved 1 row downwards (like in TGM). This was fixed in Tetris Best when set on ARS.


 * Upward kicks will most likely kick the piece also towards the left or the right. That means the piece ends up in an unfamiliar column. This is extremely confusing for S and Z pieces, where clockwise rotation with kick will behave like counterclockwise rotation without kick and vice versa.


 * Move Reset and upward kicks makes survival pretty easy under high gravity. As a result, most gravity-related modes will end up in 20G gravity, that means the piece will always touch the ground (stack) resulting in the occurence of the two aforementioned problems. Even under this hardened condition, survival is easy for advanced players - unless the lock delay is reduced to a ridiculous small amount in which case the player must mash buttons (in contrast to hold buttons as usual) to prevent the piece from locking.


 * When playing under low gravity, upward kicks can be used to prevent a piece from locking ("stalling") for a long time. This is bad in multiplayer (trolls preventing a game from finishing or players abusing it when hurry up garbage arrives).


 * The kick system is often counterintuitive because half of the kicks are shifting the center of the piece by two rows or columns.


 * However, under this circumstance, Z simply can't rotate clockwise (and S mirrored). This may cause misdrops in 20G gameplay, such as using "World" rule in TGM3.


 * Some rather intuitive kicks are not checked. For example, a kick by 1 row down (and not to the side) is never checked. Therefore, here are some kicks that are not possible in srs.


 * All these are possible in Tetris Best.


 * The rotation direction matters for some common S and Z kicks. Rotating clockwise twice is the key to success in some cases whereas rotating counterclockwise twice is the key to success in other cases.


 * The kick system for the I piece is not symmetric (except in Arika and Tetris Best). That means, sometimes the I piece can be kicked in a certain place while this is not possible in the mirrored playfield.


 * The center of the I piece is located one row below the center of the O piece. With a very high stack, it is often troublesome to drop the I piece vertically next to the right wall. In this case, the I piece has the tendency to kick in the wrong direction, and players have to rotate 3 times to reach the desired place.