User:Lardarse/LRS

'''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 following diagrams will show each block of a piece in a different colour, to aid in implementing LRS, as well as to encourage creative use.

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

O Tetronimo
No wallkick

T Tetronimo
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

L Tetronimo
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
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
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
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