A Java application implementing popular Tetris game.
The Game starts after pressing START
Button at the bottom of the screen. Next to it, there is a checkbox which allows the application to play music during gameplay.
The music’s source: Tetris Meets Metal - Youtube
Application’s UI during gameplay:
Controls:
spacebar
rotates the brick counterclockwise.Section Next Brick
displays what kind of shape is going to spawn next:
In the right side of the window the application displays actual points a player has scored.
The application’s sample game:
To generate a jar file of this project using maven:
mvn package
target
directory:cd target
java -jar Tetris-jar-with-dependencies.jar