Arika Rotation System

From TetrisWiki
Revision as of 16:45, 19 February 2023 by Oknazevad (talk | contribs) (→‎Basic rotation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Arika Rotation System (also known as ARS) is a set of gameplay mechanics, used in the Tetris: The Grand Master series, Tetris with Cardcaptor Sakura Eternal Heart, and many fan games. It is derived from Sega's rotation system.

Games using Arika Rotation System generally use IRS, fast DAS, lock delay, and sonic drop. Pieces usually appear in the 20th and 19th row, unlike guideline games which appear in the 22nd and 21st rows. The "ARS" and "ARS2" modes of Tetris The Grand Master Ace use a hybrid of TGM rules and Guideline rules.

Tetris with Cardcaptor Sakura Eternal Heart uses a modified version of ARS that does not have Mihara's conspiracy.

Basic rotation

The basic rotation states of pieces is identical to Sega rotation, which was used in older Japanese Tetris games since 1988.

Some defining characteristics include:

  • All pieces except for the I-piece have its rotation states aligned towards the bottom of the piece's bounding box. This allows a piece to rotate after landing on a flat surface, without requiring floor kicks.
  • The initial state of the L, J, and T pieces have their longest flat side facing up.
  • Unlike Sega rotation, the L, J, and T pieces can be rotated both clockwise, and counterclockwise.
  • Functionally, the I, S, and Z pieces only have two states, and rotating in either direction simply toggles their state.
  • Technically, I, S, Z, and even O pieces do cycle through 4 distinct rotation states internally. However, this only comes up in corner cases like the transform block's transformations, or how TAP counts O block rotations for the rotation medal.
Arika Rotation System's basic rotations.

Kicks

When basic rotation fails due to the piece colliding with the edges of the playfield or the stack, two kicks are tested.

The process is as follows:

  1. Basic rotation
  2. Kick 1 space to the right of basic rotation
  3. Kick 1 space to the left of basic rotation

In addition to these rules, there are some extra exceptions where certain kicks are not allowed.

  • The I-piece will never kick.
  • L, J, and T-pieces, from their 3-wide orientations, will not kick off their center column.

Center column rule

The center column rule prevents many unusual kicks which would otherwise be possible without the rule. Another side effect of the rule is that some rotations are not reversible, unlike with SRS.

L, J, and T-pieces use a 3x3 bounding box to hold the piece information, when referring to the center column, it means the center column of the bounding box. If any of these three pieces are rotated, an algorithm checks if the piece collides with the stack or playfield edges.

The algorithm for checking colliding blocks searches in the following pattern:

123
456
789

If the first block found in the search is a center column block (cells 2, 5, or 8), the rotation will fail. However, if the first block found isn't in the center column, and a kick is possible, then a kick is applied.

In the situations illustrated below, if the X block is occupied, or another center column block is present, the rotation will fail.

.......X..
.LLL..LLL.
.LX...L...
..X.......
...L...XL.
.LLL..LLL.
.......X..
.JJJ..JJJ.
..XJ....J.
..X.......
.J....JX..
.JJJ..JJJ.
..X....X..
..I...III.
.III...I..

However, there are very similar situations where additional off-center blocks will enable a wall kick, because the additional blocks are encountered by the search algorithm first. In the situations illustrated below, the upper occupied blocks are off-center and enable the kick even in the presence of occupied blocks in the center column.

Clockwise rotation will successfully kick:

.X......X.
.LLL..JX..
.LX...JJJ.

Counter-clockwise rotation will successfully kick:

...X..X...
.JJJ...XL.
..XJ..LLL.

Mihara's conspiracy

Due to the right side bias with wall kicks, doing this move with a J when there is an empty hole right of the block that the J is caught on will lead to a hole.

L works:

..........
G...GG....
G.LLGGG...
G..L..G...
G.GLGGGG..
GGGGGGGGG.
GGGGGGGGG.

Firm drop

..........
G...GG....
G...GGG...
G.LLL.G...
G.1.GGGG..
GGGGGGGGG.
GGGGGGGGG.

Rotate left

..........
G...GG....
G...GGG...
G..LLLG...
G.GLGGGG..
GGGGGGGGG.
GGGGGGGGG.

Kicks to here

J in the other hand, does not.

..........
....GG...G
...GGGJJ.G
...G..J..G
..GGGGJG.G
.GGGGGGGGG
.GGGGGGGGG

Firm drop

..........
....GG...G
...GGG...G
...G.JJJ.G
..GGGG.1.G
.GGGGGGGGG
.GGGGGGGGG

Rotate right

..........
....GG...G
...GGG...G
...G..JJJG
..GGGG.GJG
.GGGGGGGGG
.GGGGGGGGG

Kicks to here

A block (marked as red) is required for the piece to do so.

..........
....GG...G
...GGGJJ.G
...G..J..G
..GGGGJGZG
.GGGGGGGGG
.GGGGGGGGG

Firm drop

..........
....GG...G
...GGG...G
...G.JJJ.G
..GGGG.1ZG
.GGGGGGGGG
.GGGGGGGGG

Rotate right

..........
....GG...G
...GGG...G
...G..JJJG
..GGGG.G2G
.GGGGGGGGG
.GGGGGGGGG

This fails too

..........
....GG...G
...GGG...G
...GJJJ..G
..GGGGJGZG
.GGGGGGGGG
.GGGGGGGGG

Kicks to here

This can be taken advantage of to rotate the J-piece over obstacles during 20G.

..........
....JJ....
....J.....
GGG.J.G...
GGG.GGG...
GGGGGGGGG.
GGGGGGGGG.

IRS counterclockwise

..........
.....JJ...
.....J....
GGG..JG...
GGG.GGG...
GGGGGGGGG.
GGGGGGGGG.

Move right

..........
..........
.....JJJ..
GGG...GJ..
GGG.GGG...
GGGGGGGGG.
GGGGGGGGG.

Rotate clockwise

..........
..........
..........
GGG...G...
GGG.GGGJJJ
GGGGGGGGGJ
GGGGGGGGG.

Place piece

Kicks changed in Tetris with Cardcaptor Sakura Eternal Heart

In Tetris with Cardcaptor Sakura Eternal Heart, tetrominoes will only try to kick in one direction, based on what part of the block detects a collision first in this order:

123
456
789

Collisions with 1, 4, or 7 will try to kick the piece right, while 3, 6, or 9 will kick left. 2, 5, and 8 will still prevent kicks as mentioned above. Some examples:

.LLGGG
..LG.G
..L..G
GGGGGG
...GGG
...6.G
.LLL.G
GGGGGG
...GGG
..LG.G
LLL..G
GGGGGG
GGGJJ.
G.GJ..
G..J..
GGGGGG
GGG...
G.4...
G.JJJ.
GGGGGG
GGG...
G.GJ..
G..JJJ
GGGGGG
..GGG
..G.G
SS..G
.SS.G
GGGGG
..GGG
..3.G
.SS.G
.S..G
GGGGG
..GGG
.SG.G
SS..G
S...G
GGGGG
GGG..
G.G..
G..TT
G.TT.
GGGGG
GGG..
G.1..
G.TT.
G..T.
GGGGG
GGG..
G.GT.
G..TT
G...T
GGGGG

This example will fail to rotate because its one kick isn't open:

..LGGG
..LG.G
G.LL.G
GGGGGG
...GGG
...6.G
GLLL.G
GGGGGG
...GGG
..LG.G
XLL..G
GGGGGG

The piece still doesn't kick.

Kicks added in Tetris The Grand Master 3 Terror-Instinct

A number of kicks were added to Tetris The Grand Master 3 Terror-Instinct that eliminate common traps, and allow faster play.

I-piece wall kicks

In Terror-Instinct, the I-piece can kick walls and the stack. There are two different wall kicks.

GGZ.......
GGC.......
GGZ.......
GGZ.......

Try to rotate

GG........
XXCZ......
GG........
GG........

Basic rotation fails

GG........
GGZZCZ....
GG........
GG........

Kick 2 space right

........ZG
........CG
........ZG
........ZG

Try to rotate

.........G
......ZZCX
.........G
.........G

Basic rotation fails

.........G
.....ZZCZG
.........G
.........G

Kick left

Similarly to floor kicks, the I-piece needs to be touching part of the stack to kick one cell to the right.

G.Z.......
G.C.......
G.Z.......
G.Z.......

Try to rotate

G.........
XZCZ......
G.........
G.........

Basic rotation fails

G.Z.......
G.C.......
G.Z.......
G.Z.......

No rotation occurs

G.Z.......
G.C.......
G.Z.......
GGZ.......
G.........

Try to rotate

G.........
XZCZ......
G.........
GG........
G.........

Basic rotation fails

G.........
GZZZZ.....
G.........
GG........
G.........

Kick right

I-piece floor kicks

The I-piece can kick the floor. In TGM3, it can be performed only once. This limitation was removed in TGM ACE. In both games, it cannot kick the floor in mid-air.

..........
ZZCZ......
..........
GGGG......

Fail

..........
..........
ZZCZ......
GGGG......

OK

..........
ZZCZ......
.G........
.GG.......

OK

There are 2 different types of floor kicks.

..........
..........
..........
ZZCZ......
G.........
GGGG......

Try to rotate

..........
..........
..Z.......
..C.......
G.Z.......
GGXG......

Basic rotation fails

..........
..Z.......
..C.......
..Z.......
G.Z.......
GGGG......

Kick 1 space up

..........
..........
..........
ZZCZ......
GGGG......
GGGG......

Try to rotate

..........
..........
..Z.......
..C.......
GGXG......
GGXG......

Basic rotation fails

..Z.......
..C.......
..Z.......
..Z.......
GGGG......
GGGG......

Kick 2 space up

T-piece floor kicks

The T-piece can escape from a hollow, up to two times in TGM3, and can be performed infinitely in TGM ACE.

G.........
G.I.......
GII.......
GGIGGGGGG.

Try to rotate

G.........
G.........
G.I.......
GXIXGGGGG.

Basic rotation fails

G.........
G.I.......
GIII......
GG.GGGGGG.

Kick up

In TGM3, rotating a T or I-piece after it has floor kicked will permanently set the lock delay for that piece to zero. This is actually what prevents the second I floorkick. After the second rotation is processed, movement gets processed, allowing a shift of one cell left or right if it's done fast enough. Gravity is then applied. If the I-piece is not in contact with an occupied cell below after processing gravity, any attempt to floorkick will fail, as explained above. If contact does exist, the piece will instantly lock down, preventing rotation from being processed at all.

The T-piece has no such restriction, so it is possible to make it floor kick twice, but it will lock after the second one because there is no way to process rotation again before it locks in TGM3.

Right side bias

In TGM's rotation system, the pieces rotate on only one axis resulting in asymmetrical rotations. In this example, the I-piece can't rotate on the left side of the stack;

..Z.......
..Z.......
..XGGGGGGG
..XGGGGGGG
.GGGGGGGGG


A situation which would work on the right side.

Notice the I has 1 rotation axis;

ZZCZ

I piece's rotation axis

For this reason it is recommended to build a well on the right side of the playfield, rather than the left. This bias is seen in other games, such as NES Tetris.

ACE-ARS and ARS2

An I-piece floor kick being performed in TGM Ace. Unlike TGM3, the piece does not lock instantly on a floor kick after one has been performed.
An I-piece floor kick being performed in TGM Ace. Unlike TGM3, the piece does not lock instantly on a floor kick after one has been performed.

Ace's rotation is a hybrid of SRS and ARS. Ace features guideline colors and lock delay is now directly reset by rotation/movement. A maximum of 128 lock delay resets are permitted per piece. Piece spawns that would previously have resulted in death (blocks occupying row 19/20 spawn locations) will now instead cause the piece to spawn higher, to a maximum of rows 21/22. This effectively makes the usable well size 2 rows higher. In addition, floor kicks can be performed without limitations as shown in the picture on the right.


ARS2 is available through an Xbox live patch for the game. Normal ARS features Sonic Lock (locking hard drop) and non-locking soft drop. ARS2 reverts these drop mechanics to how it worked in TGM3 and TGM2, but does not change colors or lock reset mechanics.

See also

References