Playing forever: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
*>Tepples
→‎The L, J, and O piece loop: a reduction to four previews
*>Tepples
→‎Open questions: The algorithm is down to 4 previews in the worst case, and Deluxe has 4
Line 467: Line 467:
*High [[Drop#Gravity|gravity]]
*High [[Drop#Gravity|gravity]]
*No [[hold piece]]
*No [[hold piece]]
*Fewer [[preview]]s, as seen in ''[[Tetris Worlds]]'' for Game Boy Advance and ''[[Tetris The Grand Master Ace]]'' and ''[[Tetris Deluxe]]'' and ''[[Tetris Evolution]]''
*Fewer [[preview]]s, as seen in ''[[Tetris Worlds]]'' for Game Boy Advance and ''[[Tetris The Grand Master Ace]]'' and ''[[Tetris Evolution]]''
*14-piece bag randomizer
*14-piece bag randomizer



Revision as of 03:04, 26 June 2007

The following outlines a method of playing forever given the following conditions:

Standard Procedure

The general method is achieved by dividing the screen into self contained sections as shown below. Specifically, the 4 left columns, the 4 right columns, and the 2 middle columns will be treated as distinct regions, with specific pieces assigned exclusively to each region. Because the random generator provides strings of bags containing each of the 7 pieces in a random order, it is possible to construct a strategy around the relatively small variation, with looping patterns.

S, T, and Z will be placed to the left, L, J, and O will be placed to the right, and I pieces will fill the middle.

ZI
ZZSILOOJ
ZTSSILOOJ
TTTSILLJJ

The S, T, and Z piece loop

This pattern loops after 4 bags of pieces. Depending on the order of the pieces for each bag, you may need to use Hold to force a piece to come last. Piece previews are technically not required to play this pattern.

The Z piece must drop after T, so use Hold to change the order if necessary:

Z
ZZS
ZTSS
TTTS
GGGG

The T piece must drop after S, so use Hold to change the order if necessary:

T
ZTT
ZZST
ZGSS
GGGS

The S piece must drop after T, so use Hold to change the order if necessary:

S
SSZ
TSZZ
TTZG
TGGG

The T piece must drop last, so use Hold to change the order if necessary:

STTT
SSTZ
GSZZ
GGZG

The L, J, and O piece loop

This pattern loops after a single bag of pieces. Depending on the order of the pieces, you will need to use a different construction. If this SZT pile needs the first tetromino of the bag to be held, four previews are required to play this pattern, because in the worst case scenario TLZSIxx, you will need to see four pieces ahead (from L to x) in order to determine whether the O piece is coming last. Otherwise, the first L or J tetromino can be held and put into place once its mirror or the O shows up in the preview.

O first (OJL, OLJ):

JJLL
JOOL
JOOL

O last (JLO, LJO):

LOOJ
LOOJ
LLJJ

JOL: (mirror for LOJ)

JJ
J
J

Drop J

JJ
JOO
JOO

Soft-drop O

JJ
JOO
JOO

Slide O

JJLL
JOOL
JOOL

Drop L

Alternate method for JOL:

J
J
JJ

Drop J

OOJ
OOJ
JJ

Drop O

LOOJ
LOOJ
LLJJ

Soft-drop L

LOOJ
LOOJ
LLJJ

Slide L

The I piece loop

This pattern loops every 2 bags. No use of Hold or piece previews is required. The player must simply alternate putting the I tetromino in columns 5 and 6 to reap tetrises.

I
I
I
I
GI
GI
GI
GI

Notice that the alternate JOL method will work only if the first I tetromino of the loop is placed away from the JLO heap.

Balancing the Stacks

Since the loops have a cycle of 4, 1, and 2 bags respectively, after playing 4 bags they will all be flat. However, the I loop will have only placed 8 rows compared to the 12 rows placed by both the STZ and LJO loops.

STTTLOOJ
SSTZLOOJ
SSZZLLJJ
SSZZJJLL
TSZZIIJOOL
TTZTIIJOOL
TZTTIILOOJ
ZZSTIILOOJ
ZZSSIILLJJ
ZZSSIILOOJ
ZTSSIILOOJ
TTTSIILLJJ

The rows stacked
after 4 bags.

STTTLOOJ
SSTZLOOJ
SSZZLLJJ
SSZZJJLL
----------
----------
----------
----------
----------
----------
----------
----------

Though of course,
lines have cleared.

STTTLOOJ
SSTZLOOJ
SSZZLLJJ
SSZZJJLL

Leaving us with a
surplus.

In order to offset this balance, it is necessary to change strategy. Continue to do the standard STZ loop, while using the following LO and IJ loops.

The L, O piece loop

This pattern loops after a 2 bags of pieces. Order is not important, and therefore neither Hold nor piece previews are strictly required for it.

L
OOL
OOLL
OOLL
OOGL
GGGL
GGGG

The I, J piece loop

This pattern loops after 2 bags of pieces. Order is not important, and therefore neither Hold nor piece previews are strictly required for it.

GGGGGGGG
GGGGIGGGG
GGGGIGGGG
GGGGIGGGG
GGGGIGGGG
GGGGJGGGG
GGGGJGGGG
GGGGJJGGGG
GGGGJJGGGG
GGGGJGGGGG
GGGGJGGGGG
GGGGIGGGGG
GGGGIGGGGG
GGGGIGGGGG
GGGGIGGGGG
GGGGGGGGGG

Because of line clears, the order is not very important. Even if you place pieces in the opposite order than what is shown, the net change in screen geometry will be the same.

Putting it all together

If you play the standard method for 12 bags, the balancing method for 4 bags, and finally the reverse balancing method (with LO on the left and STZ on the right) for 4 bags, then you will clear the entire screen allowing you to start over again and play indefinitely.

GGGGGGGG
GGGGGGGG
GGGGGGGG
GGGGGGGG
GGGGGGGG
GGGGGGGG
GGGGGGGG
GGGGGGGG
GGGGGGGG
GGGGGGGG
GGGGGGGG
GGGGGGGG

The net result of
12 bags stacked
the standard way.

STTT
SSTZ
SSZZ
SSZZ
TSZZOOLL
TTZTOOLL
TZTTOOLL
ZZSTOOLL
ZZSSJJOOLL
ZZSSJIOOLL
ZTSSJIOOLL
TTTSIIOOLL
GGGGIIGGGG
GGGGIJGGGG
GGGGIJGGGG
GGGGJJGGGG
GGGGJJGGGG
GGGGJIGGGG
GGGGJIGGGG
GGGGIIGGGG
GGGGIIGGGG
GGGGIJGGGG
GGGGIJGGGG
GGGGJJGGGG

The rows stacked
after 4 bags of
balanced stacking.

STTT
SSTZ
SSZZ
SSZZ
TSZZOOLL
TTZTOOLL
TZTTOOLL
ZZSTOOLL
----------
----------
----------
----------
----------
----------
----------
----------
----------
----------
----------
----------
----------
----------
----------
----------

Of course,
line clears
have actually...

STTT
SSTZ
SSZZ
SSZZ
TSZZOOLL
TTZTOOLL
TZTTOOLL
ZZSTOOLL

...kept things
realistically short.

GGGG
GGGG
GGGG
GGGG
GGGGGGGG
GGGGGGGG
GGGGGGGG
GGGGGGGG

Where we left off.

OOLLJJTTTZ
OOLLJISTZZ
OOLLJISSZZ
OOLLIISSZZ
OOLLIISSZT
OOLLIJTSTT
OOLLIJTTST
OOLLJJTZSS
GGGGJJZZSS
GGGGJIZZSS
GGGGJIZZTS
GGGGIIZTTT
GGGGIIGGGG
GGGGIJGGGG
GGGGIJGGGG
GGGGJJGGGG

4 bags balancing
the other side.

----------
----------
----------
----------
----------
----------
----------
----------
----------
----------
----------
----------
----------
----------
----------
----------

Back to
square one.

Open questions

Adapting this method to the following situations is left as an exercise for the reader:

See also

  • ST stacking, a method of making back-to-back T-spin doubles