Avoid Blocks is a simple game where you play as a small blue square that must dodge the incoming red blocks falling from the top of the screen. If you hit a block, you lose a life, and if you lose all three lives, the game is over. Controls: Use the left and right arrow keys to move the player left and right. How to play: The game starts with three lives and a score of zero. Blocks will fall from the top of the screen, and you must avoid them by moving left and right with the arrow keys. If you hit a block, you lose a life, and the block disappears and reappears at a random location at the top of the screen. The game ends when you lose all three lives. Your score is increased every time a red block reaches the bottom of the screen.
Based on a game I made in Python.