User:Lardarse/LRS

From TetrisWiki
< User:Lardarse
Revision as of 03:50, 5 August 2009 by *>NightmareciBot (Robot: Converting to new playfield syntax...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

THIS DOCUMENT IS A WORK IN PROGRESS. ANYTHING AND EVERYTHING IS SUBJECT TO CHANGE. COMMENTS ARE WELCOME ON THE TALK PAGE.

This is my attempt at defining a rotation system, and then implementing it. I have no idea if this is playable, and won't know until it gets tested. However, I believe that it is playable. It is my attempt to finally move away from SRS. --Lardarse 19:09, 28 April 2007 (EDT)

Piece colours are undefined by this rotation system. You may use whichever colours are appropriate to your implementation. The folloowing diagrams will use colour to help exlain what should happen, in a way that is appropriate to the system. Individual blocks should rotate around as appropriate to the piece in question in the logical way. Implementations where blocks will have properties that may not be shared by other blocks within the same piece are encouraged.

The pieces that will be defined by LRS will not be restricted to just the tetronimoes. Larger and smaller pieces will be defined as part of this project.

Pieces will first be shown in their initial spawn positions, showing the central columns of the first two rows above the playfield. Then pieces will be shown in each of their 4 states: With 0, 1, 2, and 3 rotations clockwise from their initial orientation. Wallkick will then be defined for each of the transitions to neighbouring states. Kicks listed in bold are floorkicks, and may be restricted in some implementations.

O Tetronimo

.GG.
.GG.


.GG.
.GG.
....
.GG.
.GG.
....
.GG.
.GG.
....
.GG.
.GG.


No wallkick

T Tetronimo

GGG.
.G..


---.
GGG.
-G-.
....
-G-.
GG-.
-G-.
....
---.
-G-.
GGG.
....
-G-.
-GG.
-G-.


0->1: 1 right, 1 left, fail
1->2: 1 right, 1 left, 1 up, fail
2->3: 1 left, 1 right, fail
3->0: 1 right, 1 left, fail

0->3: 1 left, 1 right, fail
3->2: 1 left, 1 right, 1 up, fail
2->1: 1 right, 1 left, fail
1->0: 1 left, 1 right, fail

L Tetronimo

GGG.
G...


---.
GGG.
G--.
....
GG-.
-G-.
-G-.
....
---.
--G.
GGG.
....
-G-.
-G-.
-GG.


0->1: 1 right, 1 left, fail
1->2: 1 right, 1 left, fail
2->3: 1 left, 1 right, fail
3->0: 1 right, 1 left, fail

0->3: 1 left, 1 right, fail
3->2: 1 left, 1 right, fail
2->1: 1 right, 1 left, fail
1->0: 1 left, 1 right, fail

J Tetronimo

GGG.
..G.


---.
GGG.
--G.
....
-G-.
-G-.
GG-.
....
---.
G--.
GGG.
....
-GG.
-G-.
-G-.


0->1: 1 right, 1 left, fail
1->2: 1 right, 1 left, fail
2->3: 1 left, 1 right, fail
3->0: 1 right, 1 left, fail

0->3: 1 left, 1 right, fail
3->2: 1 left, 1 right, fail
2->1: 1 right, 1 left, fail
1->0: 1 left, 1 right, fail

Z Tetronimo

GG..
.GG.


---.
GG-.
-GG.
....
--G.
-GG.
-G-.
....
---.
GG-.
-GG.
....
--G.
-GG.
-G-.


0->1: 1 right, 1 left, fail
1->2: 1 right, 1 left, fail
2->3: 1 right, 1 left, fail
3->0: 1 right, 1 left, fail

0->3: 1 left, 1 right, fail
3->2: 1 left, 1 right, fail
2->1: 1 left, 1 right, fail
1->0: 1 left, 1 right, fail

S Tetronimo

.GG.
GG..


---.
-GG.
GG-.
....
G--.
GG-.
-G-.
....
---.
-GG.
GG-.
....
G--.
GG-.
-G-.


0->1: 1 right, 1 left, fail
1->2: 1 right, 1 left, fail
2->3: 1 right, 1 left, fail
3->0: 1 right, 1 left, fail

0->3: 1 left, 1 right, fail
3->2: 1 left, 1 right, fail
2->1: 1 left, 1 right, fail
1->0: 1 left, 1 right, fail

I Tetronimo

This section is out of date, and will be replaced at a later date. It appears here mainly for historical purposes. See the talk page for more discussion about it.

....
GGGG


----
----
GGGG
----
....
--G-
--G-
--G-
--G-
....
----
----
GGGG
----
....
--G-
--G-
--G-
--G-


0->1: 1 up, 1 right, 1 left, fail
1->2: 1 right, 1 left, fail
2->3: 1 up, 1 right, 1 left, fail
3->0: 1 right, 1 left, fail

0->3: 1 up, 1 left, 1 right, fail
3->2: 1 left, 1 right, fail
2->1: 1 up, 1 left, 1 right, fail
1->0: 1 left, 1 right, fail