Is there a winning strategy in Tetris?
mathoverflow.net
mathoverflow.net
I think this got published in 1990, but I can find little evidence even if the journal's existence online.
https://www.researchgate.net/publication/2347389_How_to_Lose...
The proof itself is quite self-evident: given a perfectly randomly block generator, and infinite play time, eventually you're going to produce a very long sequence of left- (or right-) facing S-blocks. Since those are impossible to eliminate (there's always one block left open on a row) eventually you lose.
https://tetris.wiki/Tetris_Guideline
https://tetris.wiki/Random_Generator
Thus, in a game of Tetris adhering to these official guidelines, the longest sequential run of S and Z pieces would be 4, in the following sequence:
[5 Random Blocks] [Z and S in any order] [Z and S in any order] [5 Random Blocks]
I'd be very curious to see a proof of an impossible sequence which adheres to the official rules, as that would be quite a feat indeed!
It sounds like, given enough piece previews, you can play without ever losing: http://tetris.wikia.com/wiki/Playing_forever
Any dab hands at regex out there? I think this is the regex to match, but something feels wrong about it
(([^sz]){5}[sz]{2})([sz]{2}([^sz]){5})As observed elsewhere, neither work according to official Tetris rules.
This seems like the sort of theorem that a college student might be inclined to prove.
I played this same game for weeks, mostly on the train to and from work. And wouldn't you know it, but Tetris DS has a bug that won't let you save a score once you pass 100,000,000 or whatever the highest possible score is.
Tetris got a lot easier when they added the ability to infinitely rotate a block for as long as you want at the top of the pile.
The limiting factor is headroom (the depth of the well). For wells of depth 0, 1 and 2, the AI clearly wins, but once the depth increases enough a strategy becomes possible. My belief is that such a strategy exists for all even well widths, although proving this is annoyingly hard.
It's fun how program learning to play teris pauses the game just before loosing.
Not sure if your comment was to say "I thought tetris was easy in a turn based environment, turns out I was wrong" or if you were contradicting the linked thread without basis
http://publications.csail.mit.edu/lcs/pubs/pdf/MIT-LCS-TR-86...
In contrast, it's not clear to me that playing Tetris indefinitely with the piece randomizers used in current Tetris games is NP-hard.
Also you'll never get three of the same piece in a row*
*almost 100 % sure of this
Haven't happened to me in a game yet and my rating is around 4480
Proving the least favourable distribution of z-shapes to other shapes which would allow a game to continue indefinitely would be really interesting. :)
Now, if there's an occasional S shape thrown into the mix, you have a problem.
#
##
#
You'll end up with # # # # #
##########
# # # # #
which becomes # # # # #
# # # # #
which you can just repeat over and over again forever (if your variant of Tetris includes gravity even this collapse to nothing).* Many multiplayer games give bonuses for combos (multiple consecutive line clears), T-spins, and Tetrises. Setting these up efficiently can require reading several pieces ahead and takes a ton of practice. An example where both players do a fairly elaborate setup, one with combos and the other with T-spins: https://www.youtube.com/watch?v=mASSHXLTuU4
* 20G mode, made famous by games like TGM, drastically reduces the ability to manipulate the pieces. Even surviving takes new strategies (you're forced to play a lot of strange moves), much less making tetrises like the pros do. https://www.youtube.com/watch?v=aoU0DQh7zdU
* Some multiplayer games give difficult garbage, I'm thinking of Cultris 2 specifically. Clearing garbage efficiently, known as "downstacking", requires much more careful piece placement than regular play. It's hard to appreciate from video, but if you compare pros downstacking to a normal person, you can see they use fewer pieces to clear the same amount of garbage, which is a real competitive advantage. https://www.youtube.com/watch?v=OgK4aJ_3zCw