↪ ☂ᗴ☂ᖇᓰᔕ Move the falling piece using the right and left arrow keys. Use the up arrow key to rotate it. Use the down arrow key for a 'soft drop'. Space was supposed to be for a 'hard drop', but the project crashes every time it is pressed. History:- "Tetris" is a tile-matching video game created by Russian software engineer Alexey Pajitnov in 1984 for the Electronika 60 computer. It has been published by several companies, most prominently during a dispute over the appropriation of the rights in the late 1980s. After a significant period of publication by Nintendo, the rights reverted to Pajitnov in 1996, who co-founded The Tetris Company with Henk Rogers to manage licensing. Built on simple rules and requiring intelligence and skill, Tetris established itself as one of the great early video games. It has sold 202 million copies – approximately 70 million physical units and 132 million paid mobile game downloads – as of December 2011, making it one of the best-selling video game franchises of all time; the Game Boy version in particular is one of the best-selling games of all time, with over 35 million copies sold. The game is available on over 65 platforms, setting a Guinness world record for the most ported video game title. Tetris is rooted within popular culture and its popularity extends beyond the sphere of video games; imagery from the game has influenced architecture, music and cosplay. The game has also been the subject of various research studies that have analyzed its theoretical complexity and have shown its effect on the human brain following a session, in particular the "Tetris effect". Goal:- Tetris is primarily composed of a field of play in which pieces of different geometric forms, called "tetriminos", descend from the top of the field. During this descent, the player can move the pieces laterally and rotate them until they touch the bottom of the field or land on a piece that had been placed before it. The player can neither slow down the falling pieces nor stop them, but can accelerate them in most versions. The objective of the game is to use the pieces to create as many horizontal lines of blocks as possible. When a line is completed, it disappears, and the blocks placed above fall one rank. Completing lines grants points, and accumulating a certain number of points moves the player up a level, which increases the number of points granted per completed line In most versions, the speed of the falling pieces increases with each level, leaving the player with less time to think about the placement. The player can clear multiple lines at once, which can earn bonus points in some versions. It is possible to complete up to four lines simultaneously with the use of the I-shaped tetrimino; this move is called a "Tetris", and is the basis of the game's title. If the player cannot make the blocks disappear quickly enough, the field will start to fill, and when the pieces reach the top of the field and prevent the arrival of additional pieces, the game ends. At the end of each game, the player receives a score based on the number of lines that have been completed. The game never ends with the player's victory; the player can only complete as many lines as possible before an inevitable loss. Have Fun Playing !! My Best Score: 5400 Do comment down your own !
Credits:- Thumbnail + End-screen by me (End-screen won't be visible due to some bug, it can be see by clicking 'See Inside') Dark Mode and background by me Major code by @PullJosh His Tutorial Playlist Link: https://www.youtube.com/playlist?list=PLrDlgYeQ7mVGHJSaTLS-OUVFgv4xaGEPS All Information given above is taken from the Tetris Wikipedia page: https://en.wikipedia.org/wiki/Tetris Notes:- Due to a bug, the project can't detect the end of the game, so it will keep continuing, that's why the End-screen won't show. The Space key (for a hard drop) also doesn't work.