Question: Write a program to draw the interface of the Game of Tetris, as shown in Fig. 1 . 1 5 . The game involves playing

Write a program to draw the interface of the Game of Tetris, as shown in Fig. 1.15. The game involves playing with different shapes, each composed of four squares. The main area (large rectangle) should be sized as 1020 squares (i.e.10 squares wide and 20 squares high). The small rectangle on the right shows the next shape that will soon appear in the main area (a red L shape in the example).
Complete only the following tasks for this homework: Draw everything shown in this figure (the position of each component, e.g. rectangle, does not have to be exactly the same as in the figure). If the mouse cursor moves inside the main area, PAUSE(in a large font) will be displayed; and if the cursor moves out of the area, PAUSE will disappear. 1.15 The Tetris interface
Write a program to draw the interface of the Game

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!