If you would play Tetris near black hole, you would die.
Welcome to this Tool-Assisted Superplay where gravity is very high yet the blocks still magically float on nothing. Luckily we're not playing Tetris for the realism, but instead for the graphics.

Game objectives

  • Complete the hardest game mode "T.A. Death" by reaching level 999 as fast as possible
  • Get awarded some cool medals on the way
  • Achieve all the Grand Masters

Comments

This run is an improvement of 2.23 seconds or 134 frames over the previous movie. It reaches an in game time of 02:40.40.
In terms of optimization this game is very limited. No hold piece feature or RNG manipulation means you're stuck with a sequence of 725 pieces from the very beginning. I delayed the start to get a sequence which allows me to get the final 6th medal missing from the previous movie without losing frames. My initial run only saved 20 frames, and the next saved 30 frames, so I adjusted my program, tested a few days, and then let it run hours at a time. All in all I'm very pleased with 134 frames of improvement.
I initially started working on this exactly because of the limited placement. It meant that I could reprogram the game myself and then try out some optimization techniques not possible in regular emulators. Most inputs of this run were generated by that program, and then assembled by myself, around 20 pieces at a time. Of course, the limitation rules (e.g. maximum of 4 overhangs) and the overall route were made by me, so this run is definitely not the brute forced best Tetris run that can exist. I also plan to release the reprogrammed game code, so that people planning to improve this submission have the option to work with it as well.

Terminology

Pieces

For easier communication, each of the 7 tetrominoes are assigned their own letter based on their shape. These are I, T, L, J, S, Z, O.

20G

20G means that pieces fall 20 tiles per frame. Since that's basically the height of the entire field, it effectively means pieces drop to the ground immediately. This limits where you can move pieces depending on the field. You usually see people building a peak in the middle where the pieces spawn, so pieces can slide down both ways.
The game mode "T.A. Death" has this enabled from the start until the end.

Level

A level is the current progress. It starts at 0 and increases per line clear and after a piece was placed. However a piece placement will not increase the level counter beyond a section border. They need to be passed with a line clear. So the counter will stop at 099, 199, 299, ..., 799, 899, 998 (<- note the one off), until you clear a line.

Single/Double/Triple/Tetris

These are terms for clearing 1/2/3/4 lines with a single piece.

Game features

Rotation

Rotations are always done first. They are even applied before the gravity in the first frame a piece spawns. You have button A and C to rotate counterclockwise and button B to rotate clockwise. This means counterclockwise rotations can happen every frame, where clockwise ones can only happen every other frame. The game has two checks whether rotations are possible: 1. The basic rotation, 2. Kicked rotations.
The basic rotation is just that. The game tries to rotate and if blocks overlap, it fails.
If the basic rotations fail the game checks so called "kicks" where the piece is not only rotated but also moved in one direction. The game tries to kick to the right and tests if no blocks overlap. If this fails it tries to kick to the left. If this also fails the whole rotation fails.
There are several exceptions and special rules here. The I and O pieces will never kick. The L, J, and T pieces will not kick off their center column if the first overlap block is detected there. Also, the very first frame a block spawns it will try the basic rotation, but never kick.

Movement

You can move to the left and to the right by using the corresponding buttons. Normally you would only be able to move in the same direction every other frame, since you have to release and repress, but this version of Tetris has a so called Delayed Auto Shift or DAS. Once charged up it will move the piece every frame. It can be charged during the time between a piece lock and the next spawn. Important to note is how the DAS counter is 1 byte and can overflow, so it needs to be reset occasionally to avoid sudden movement stops. This run uses placements without movement to reset the counter.
Movement can't happen on the first frame a piece spawns. It also can't be combined with the lock input, so it can't happen on the last frame of a placement.

Lock

Locking is done using the down button. It can't happen on the first frame. It also can't be combined with a movement input. If a row fills up it is removed and rows above will be moved down.

Losing

On the first frame a piece spawns, if blocks overlap (after an optional basic rotation) you lose the game.

Medals

<Medal>

<Requirement for bronze/silver/gold.>

AC (All Clear)

Completely empty the field 1/2/3 times.

ST (Section Time)

Complete a section (100 levels) within 52/45/42 seconds

SK (Skill)

Clear a Tetris 5/10/17 times.

RE (Recovery)

Go from over 149 blocks to under 71 blocks 1/2/4 times.

RO (Rotation)

Surpass 1.2 rotations per piece during levels 0-300/300-700/700-999

CO (Combo)

Clear at least 2 lines 4/5/7 times in a row without a piece not clearing a line at all.

Secret Grade

A Secret Grade GM can be achieved by building a > pattern (right pointing angle bracket) with holes during the credits.

Timings

Line clears usually take a few frames longer than simple piece placements.
LevelPiece placementLine clearFrames lost vs clearing a Tetris:SingleDoubleTripleTetris
0xx1826 6420
1xx1414 0000
2xx1414 0000
3xx814 4.531.50
4xx712 3.752.51.250
5xx+610 3210
Important to note is how in 100-299 you don't lose any time clearing something else than a Tetris.

Techniques

Planning

In terms of Medals, ST (Section Time), SK (Skill), and RO (Rotation) will be gold basically automatically. The other three will be the actual challenge to achieve without losing time.

Route

First I made sure to delay frames at the start to give me a piece sequence where it is possible to completely empty a field twice with a Tetris for the AC (All Clear) medal. I tried for three times, but it seems there are only around 3000 possible seeds at all.
Next, to reach the next section as soon as possible it's important to keep the amount of blocks low when approaching a section change. After all, more line clears mean higher levels and an earlier speedup from the next section.
Once I reached section 100-299, no time will be lost from not clearing 4 lines at once, so this is the perfect time to aim for the CO (Combo) medal. So I built up the field with two empty columns and got a 7 combo of Doubles. Now is also a good time to finish the AC (All Clear) medal, since that's much easier without being restricted to Tetris clears.
Now the only part left was the 4 recoveries for the RE (Recovery) medal. Of course, I also had to make sure to be low on blocks during the section changes, so I could only complete one recovery per section.
At level 574 I was finally done with all the medals and could focus on getting to level 999 as fast as possible.
After level 999 I could finally play around a bit and decided to immediately do another full clear of the field, as this sadly isn't possible simultaneously with reaching level 999 without losing time. The rest was getting the secret grade GM by building the required shape, and making sure to end with perfect timing, as losing would not give you the grade.

Kicking

Since kicking pieces moves them in one direction in addition to the movement, it can be used to save 1 or 2 frames of regular placement. This is the most important optimization technique, where it's sometimes better to allow holes in the field to allow more kicking.

Placement

This chart shows how many frames it takes the pieces on average (without kicks) to reach each of the 10 columns, as well as how fast a piece is against the column average with the greenest color.
You can see how most pieces are left-aligned from the symmetrical O piece. This can also be seen in the rotation diagram. However, the I piece is right aligned, which is the reason the I piece holes are usually on the right side.

Optimizing

Most of my workflow was using my program to brute force piece placements. However, without any overhang or hole rules it's only possible to brute force the next ~5 pieces. But always choosing the fastest placement will quickly lead to losing time later. My program was very useful with generating All Clears, or the secret grade pattern.
The naive strategy of brute forcing the next few pieces, and then choosing the next one piece placement with the most occurrences lead to the initial 20 frames improvement. So then I changed it up and implemented a few weights so I can check more future pieces without brute forcing all of them (I might add more explanation here at a later point). This of course loses the optimality certainty but it also allowed me to complete this run in my lifetime, which was nice.

Special Thanks to

  • Steelix100 for creating the previous run and giving me a very good comparison run.
  • The tetris wiki, which is a very good resource on how these games work.
  • feos and MAMEHawk, as BizHawk has an easier and more intuitive workflow, even if the MAME core isn't perfect yet.

Suggested Screenshot


Memory: claiming for judging
Memory: Optimization is super good here.
The sheer speed of the TAS here makes it extremely fun to watch. The audience whole-heartedly enjoyed the run and I did too.
The fact that the medals are included makes this able to be considered both fastest and full completion. If a run that was faster than this was performed that didn't get all the medals, I admittedly am unsure whether or not it would be able to be considered as a new branch or not since it'd presumably be so similar. My first inclination is no but I am not sure.
Spikestuff: Publishing.


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15619
Location: 127.0.0.1
xxezrabxxx
He/Him
Joined: 7/15/2017
Posts: 203
Location: Kentucky
That was fun to watch! The speed of the tetrominoes is insane! Yes vote
I like to comment on submissions and look around the site. You have probably seen me before (if you have been around for a while) either on the site, Discord, or any other social media. I recently took up making temporary encodes for new submissions. Also, I never forget to greet Tompa wherever I find him! "when resyncing stuff sucks it's called Resuccing" - EZGames69 “If an emulator stops being accepted to the site it should be called an emuLAMEr” - EZGames69 "oh no discord, everything I say will now be logged forever, sdfsdf, time to hide" - Masterjun "just had to give therapy to a taxi with daddy issues" - psx Current Projects: Mother 3 (75% complete)
psx
Joined: 9/26/2020
Posts: 24
loved this new death grips song, yes vote.
EZGames69
He/They
Publisher, Reviewer, Expert player (4467)
Joined: 5/29/2017
Posts: 2764
YOU ARE A GRAND MASTER(jun)
[14:15] <feos> WinDOES what DOSn't 12:33:44 PM <Mothrayas> "I got an oof with my game!" Mothrayas Today at 12:22: <Colin> thank you for supporting noble causes such as my feet MemoryTAS Today at 11:55 AM: you wouldn't know beauty if it slapped you in the face with a giant fish [Today at 4:51 PM] Mothrayas: although if you like your own tweets that's the online equivalent of sniffing your own farts and probably tells a lot about you as a person MemoryTAS Today at 7:01 PM: But I exert big staff energy honestly lol Samsara Today at 1:20 PM: wouldn't ACE in a real life TAS just stand for Actually Cease Existing
Spikestuff
They/Them
Editor, Publisher, Expert player (2655)
Joined: 10/12/2011
Posts: 6446
Location: The land down under.
Input doesn't end on an all clear, no vote. :V All seriousness, that was a well made TAS brought to the table, makes me wish the other untouched titles are tapped into. - - - - - Claiming for Publications when accepted.
WebNations/Sabih wrote:
+fsvgm777 never censoring anything.
Disables Comments and Ratings for the YouTube account. Something better for yourself and also others.
Challenger
He/Him
Skilled player (1702)
Joined: 2/23/2016
Posts: 1064
Cool game!
My homepage --Currently not much motived for TASing as before...-- But I'm still working.
Editor, Player (175)
Joined: 4/7/2015
Posts: 331
Location: Porto Alegre, RS, Brazil
Games are basically math with a visual representation of this math, that's why I make the scripts, to re-see games as math. My things: YouTube, GitHub, Pastebin, Twitter
nymx
He/Him
Editor, Judge, Expert player (2246)
Joined: 11/14/2014
Posts: 933
Location: South Pole, True Land Down Under
DANG!!! What a build up of entertainment. Even at the end with the play around...Yes vote!
I recently discovered that if you haven't reached a level of frustration with TASing any game, then you haven't done your due diligence. ---- SOYZA: Are you playing a game? NYMX: I'm not playing a game, I'm TASing. SOYZA: Oh...so its not a game...Its for real? ---- Anybody got a Quantum computer I can borrow for 20 minutes? Nevermind...eien's 64 core machine will do. :) ---- BOTing will be the end of all games. --NYMX
Patashu
He/Him
Joined: 10/2/2005
Posts: 4045
Excellent demonstration of TAS gameplay. I love that it goes for medals systemically with no hesitation, goes absurdly fast and secret grades during the credits roll. (And the game even acknowledges it!) Seeing a TAS this maxed out is delightful. The score is remarkably similar to e (277128 vs 2.71828 - just move the 8 one to the left and turn it into a 7) but I assume this is just a happy coincidence.
My Chiptune music, made in Famitracker: http://soundcloud.com/patashu My twitch. I stream mostly shmups & rhythm games http://twitch.tv/patashu My youtube, again shmups and rhythm games and misc stuff: http://youtube.com/user/patashu
Zinfidel
He/Him
Player (206)
Joined: 11/21/2019
Posts: 247
Location: Washington
This is a very obvious yes vote. Seeing Tetris played at the highest level is already mind-exploding; seeing Tetris at a TAS level is just a thing of beauty.
GamesFan2000
He/Him
Joined: 1/4/2019
Posts: 84
Location: Canada
Jesus Christ! Masterjun, you are a madman! You managed to save more than two seconds off the previous TGM2+ TAS AND get all gold medals on top of that, something the previous TAS didn't do. An easy yes vote.
Memory
She/Her
Site Admin, Skilled player (1558)
Joined: 3/20/2014
Posts: 1767
Location: Dumpster
So, does aiming for all these side goals count as full completion or would they count as speed/entertainment tradeoffs (assuming that they do indeed cost time)? EDIT: I completely missed the blurb that they don't cost time in the submission text, silly me.
[16:36:31] <Mothrayas> I have to say this argument about robot drug usage is a lot more fun than whatever else we have been doing in the past two+ hours
[16:08:10] <BenLubar> a TAS is just the limit of a segmented speedrun as the segment length approaches zero
Post subject: Movie published
TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15619
Location: 127.0.0.1
This movie has been published. The posts before this message apply to the submission, and posts after this message apply to the published movie. ---- [4360] Arcade Tetris the Absolute: The Grand Master 2 Plus "T.A. Death" by Masterjun in 03:20.02
Joined: 12/29/2007
Posts: 489
Memory wrote:
So, does aiming for all these side goals count as full completion or would they count as speed/entertainment tradeoffs (assuming that they do indeed cost time)? EDIT: I completely missed the blurb that they don't cost time in the submission text, silly me.
Looks like bronze/silver AC is the only medal that costs time; if I understand correctly, Masterjun mentions that the game start (after power-on) was delayed by some frames to get a good starting piece sequence. I wonder how difficult it would be to try to get all 3 AC medals during the 100-299 section where non-Tetrises are free, to save these frames. (Since all 3 CO medals also have to be obtained in the same two sections, probably quite difficult.)
"Memory wrote:
The fact that the medals are included makes this able to be considered both fastest and full completion. If a run that was faster than this was performed that didn't get all the medals, I admittedly am unsure whether or not it would be able to be considered as a new branch or not since it'd presumably be so similar. My first inclination is no but I am not sure.
This might just be a pedantic answer, but my first thought is that such a run would go to Vault while this run would remain Moons. The hypothetical new run fits the Vault criteria of fastest time, while not having enough entertainment value (too similar to the 100% branch) to fit Moons.