Question: Create a simple game of Tetris in JAVA Requirements are listed below 1. User should randomly select one of seven different blocks to appear in

Create a simple game of Tetris in JAVA

Requirements are listed below

Create a simple game of Tetris in JAVA Requirements are listed below

1. User should randomly select one of seven different blocks to appear in main area, and second should appear in next shape box

2. Another random piece should replace the randomly selected pieces

3. The block in main area should fall at a constant rate, stopping when it hits the bottom

4. Scrolling mouse forward rotates falling shape clockwise, and backwards scroll counter clockwise

5. Left and right arrow keys move falling block accordingly

6. Once block hits bottom , shape in next shape box appears in main area with same motions

7. If a row is filled with blocks, it disappears

8. If the cursor is hovered over the main area, the game pauses and a pause box appears

Next shape HE Main area

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 Databases Questions!