to create a game similar to tetris however the code for the different shapes and sizes along with the movement and control of the objects was more complicated than we thought. So, we decided to use the idea of dropping an object from the top of the screen from tetris and catching it on the bottom of the screen with a basket to gain points. We also added different shapes and colors for the objects to make it more interesting.
keyboard to move the basket. • Catching each ball the player earns 10 points. • Catching each square the player earns 50 points • After scoring 100 points, the points earned for each object is decreased to half i.e. 5 for each ball and 25 for each square. • You have 10 lives which means you lose 1 life each time you miss the object and if you miss 10 objects the game is over.
the previous window the window below appears This window asks you whether or not you want to restart the game. If you click OK, the game restarts. If you click Cancel, the program ends.