=================TETRIS================== Controls:- ▶Move the falling piece using the RIGHT and LEFT ARROW keys. ▶Use the UP ARROW key to rotate it. ▶Use the H key to use 'hold' ▶Use the DOWN ARROW key for a 'soft drop'. ▶Use SPACE for a 'hard drop' ------------------------------------------------------------------------- Goal:- [You can ignore this, of course everyone knows how to play tetris XD] 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. -------------------------------------------------------------------------
Features Added: ↪ A 'Hold' Option (use 'h' key to swap the current falling piece with the one in reserve - at the start of the game, a random piece is placed in that place) ↪ Shows 'Next Piece' (to be able to see which piece is going to come next, helps plan a bit ahead, and makes it a little more interesting hopefully)