Tetris Printer Algorithm
meatfighter.com
meatfighter.com
That just demonstrates the algorithm and makes it clear how it works.
Kind of related: in the Tetris community, there iss a human player who's specialty in making Tetris pattern (using legit piece generator). He began by making the classic ">" pattern (famous amonst the bored Japanese Sega-styled (TGM) Tetris players) [1]. Then he progressively improved and he can now do some quite impressive "sculpting". Check out his space invader [2], repeated triforce [3], Luigi [4] and the rest of his youtube channel. It's mesmerizing.
[1] https://www.youtube.com/watch?v=yBrl2-f5vjI
[2] https://www.youtube.com/watch?v=wF8KWzDxpqY
[3] https://www.youtube.com/watch?v=B_buHvlra5A
That being said, it would be awesome if someone fit the algorithm onto a little microcontroller and got it to generate the control signals for a particular console (although as you already mentioned, resolution might be a limiting factor here...).
You just need to emulate the game when planning out the series of moves, to figure out what timing to use to manipulate the RNG and get the pieces you want.
It's a pretty good read if you're into that sort of thing, and really helps explain the mechanics of analog video (and also gives you some hints about simulating it in software). He also created his own clones of Tetris and Pong that run on the MCU as well!
Don't get me wrong, the idea is non trivial and the writeup is great.
http://scitua.scit.wlv.ac.uk/OJS_IJIGS/index.php/IJIGS/artic...
I suppose this method cannot be adapted to work for non-random 'bags' of Tetris shapes...?