Greetings my dear friends and subscribers ✌

https://ya.cc/t/ui6iMNAD33gAoy
Tetris is one of the most famous computer games in the world. Although Alexei Pazhitnov wrote the first version in 1984, modern versions still appear today. It is a wonderful puzzle game that develops not only reaction speed and coordination of movements, but also a certain stress resistance.
The game is based on 7 pieces (in fact, there are 5, because the rest are mirror images), and anyone who has played Tetris probably had a legitimate question - is it possible to infinitely stack the figures, fitting them perfectly to each other? After all, experienced tetrisomaniacs can spend hours successfully getting out of unbelievable situations and lose because of their own mistakes, not because of the cunning of the program.
If you take the pure theory of probability, then the loss is inevitable, even if the computer itself will play. After all, in the end the sequence of Z and S pieces will be so long (which no matter how you stack them, and one extra hole will still be in the row, and it can't be taken away) that it will fill the whole screen. That's why the program algorithm specifically imposes restrictions on the maximum length of a series of shapes. So the answer is yes, a properly written game can really be played forever.
Thank you all for your attention to my publications, I hope you liked it, come again.
Sincerely Eduard!
You must be logged in to post a comment.