This is a Tetris game developed using Python's Pygame library. The objective of the game is to clear as many lines as possible by arranging tetrominoes (shapes made of four blocks) in horizontal lines without gaps.
An animation of flying blocks will be played when lines are cleared!
To play the game, make sure you have Python 3 installed on your computer. You can download Python from the official website: https://www.python.org/downloads
You will also need to install Pygame, which can be done by running the following command in your terminal:
"pip install pygame"
Use the left and right arrow keys to move the tetromino sideways.
Use the up arrow key to rotate the tetromino.
Use the down arrow key to make the tetromino fall faster.
Plan your next move with the "next" tetronimo on the right.
The game will restart when the tetromino stack reaches the top of the screen.