2 ms·
For the author, if they revist this, they might look into 7-bag random generator. TLDR, most modern tetris games, including tetris 99 select a permutation of th
by toast0 2y ago
For the author, if they revist this, they might look into 7-bag random generator. TLDR, most modern tetris games, including tetris 99 select a permutation of the 7 unique pieces every 7 pieces; this means even though Tetris 99 shows you the next 6 pieces, you may know more about the next pieces.
For example, at the beginning of the game, it shows you 6 pieces, but you can determine the 7th piece because it's the one that's not shown. The 8th piece could be any of the 7 pieces, but when you see the 13th piece, you know the 14th piece (and when you see the 12th piece, you know there are only two possibilities for the 13th piece).
Additional look ahead every so often might be helpful, given that they found
> When looking only 3 moves ahead, Jeff achieves a Tetris percent of 8.9%. When looking 6 moves ahead, he improves to 9.7%—nearly perfect!
I'd also be interested in seeing optimization for combos. Or t-spins; t-spins send 2x lines of garbage for each line cleared; which I hate, because I grew up before t-spins were encouraged. :P
- Sohcahtoa82 2y ago> TLDR, most modern tetris games, including tetris 99 select a permutation of the 7 unique pieces every 7 pieces; this means even though Tetris 99 shows you the next 6 pieces, you may know more about the next pieces. Wait, is this true? I always assumed each piece was selected perfectly randomly, making it possible (though rare) to get the same piece 3 times in a row. If what you're saying is true, then that mean there should never be more than 12 pieces between I pieces, and if you get two in a row, then it'll be a minimum of 6 before you see another. Which...all seems within the realm of possibility. Tetris always seemed really good at having a very even spread of pieces without "streaks".
- trothamel 2y agoYes, it's part of the (leaked) Tetris Guideline. https://tetris.wiki/Tetris_Guideline https://tetris.wiki/Tetris_Guideline
- toast0 2y agoYeah, it's true. Old games like gameboy and NES tetris (either flavor), and the Atari arcaee machine were one piece at a time random, and not particularly evenly distributed either.
- vikingerik 2y agoThe Gameboy one attempts to compensate for clumpiness by reducing the chance of repeating a piece, but it turns out that that's even bugged so that the overall randomization is unbalanced. https://harddrop.com/wiki/Tetris_(Game_Boy)#Randomizer https://harddrop.com/wiki/Tetris_(Game_Boy)#Randomizer L: 10.7 % J, I, Z: 13.7 % O, S, T: 16.1 %
- omoikane 2y agoSee also: "A history of Tetris randomizers": https://simon.lc/the-history-of-tetris-randomizers https://simon.lc/the-history-of-tetris-randomizers via: https://news.ycombinator.com/item?id=20872110 https://news.ycombinator.com/item?id=20872110