That's not playing a game.
Looks like he memorized every next brick and where to put it. The randomizer on this machine sucks....
The randomizer maintains a history of the 4 most recent given pieces.
Every time it needs to generate a piece, it will impartially choose one of the 7 pieces.
The randomizer checks if this chosen piece is found in the history. If it isn't, this piece is given. If it is, it picks one of the 7 pieces randomly again. If after a certain number of attempts (4 for TGM, 6 for its sequels), it still does not succeed at finding a piece outside the history, it settles for this recently given piece