Only the very first version of Tetris, by Alexey Pajitnov and Vadim Gerasimov, doled out bricks at random. The result is a pure puzzle, but one with a high likelihood of frustrating (and even theoretically unplayable) sequences. Accordingly, developers have introduced bias and ratio management to balance short-term unpredictability with long-term playability. There's even a a history of Tetris Randomizers to enjoy, with code examples to show the various approaches.
Here's the rule from Nintendo's definitive 1985 edition:
To cut down on piece floods (repeating pieces) a history check was added to the randomizer. This simple check would,
• choose a piece,
• check if the piece was the same as the last,
• If it was it would chose a new piece, but only once,
• and whatever was the result, was the piece dealt.
This still didn't fix the problem of piece droughts, which was solved by switching to virtual "bags" of pieces in 2001's Tetris Worlds, so the likelihood of getting a piece increases each time you don't get it, and vice versa, for each bag of pieces. But now it's rather easy to predict, so what next? Things get really complicated with Tetris: The Grand Master 3 - Terror-Instinct (2005).
See also Bastet, a version of Tetris that simply calculates the worst possible piece for any given deal, and deals you it.
My doubtless-unpopular opinion is that predictability is not only fine, but desirable. In fact, the sequence of pieces should be deterministic in competitive Tetris, in a way that a beginner can understand, that an average player can predict some of the time, that a master can predict most of the time. A Tetris position should be analyzable in the same way as a position in Chess or Go. I admit that I might be halfway to inventing a tetromino board game that is obviously not Tetris, and is probably reinvented about monthly by someone already.
The history of Tetris randomizers [simon.lc]
Analogue Pocket is a forthcoming handheld game console that runs old Nintendo carts and offers a built-in synthesizer and sequencer. A multi-video-game-system portable handheld. A digital audio workstation with a built-in synthesizer and sequencer. A tribute to portable gaming. Out of the box, Pocket is compatible with the 2,780+ Game Boy, Game Boy Color & […]
Blizzard's cowardly decision to appease Chinese authoritarians by ejecting a champion player who expressed support for the pro-democracy struggle in Hong Kong has kicked off a global rebellion by the company's customers, who are furious that the firm has put its profits over an entire nation's right to self-determination and basic democratic freedoms.
After a day of making people look at a black hole, Epic Games has released the next iteration in the amazingly popular battle royale shooter Fortnite. A new map, boats and bandage bazookas are just some of the ‘new’ things. Players can now carry an injured buddy to safety, or go fishing — maybe both […]
Do you own a Mac? Unless you’re using it for a paperweight, you almost can’t afford not to get the Magnificent Mac Bundle. It’s a roundup of some truly essential security and file management apps, bundled up with great photo and video enhancers. The best part is that all nine apps are potentially available for […]
As much as vaping has taken over the market during the last decade, there’s still a lot of questions about the technology, as well as health concerns that we’re just now finding out about. One thing you can say about smoking: You know exactly what you’re getting, especially when it comes to pipes that you […]
We can’t all go through life with just a pair of sneakers and flip-flops. Sometimes, you have to invest in a pair of high-quality dress shoes. However, you’ve probably discovered that high-end footwear almost always comes with eye-popping price tags. You’ve got to compromise on second-hand or just suck it up and take out a […]