- Java JDK 8 or higher
- Apache Maven 3 or higher
mvn clean packageAfter building, you can start the game with the provided script:
./tetrisAlternatively, you can run the JAR directly:
java -jar target/tetris.jar-
SPACE - Start a new game
-
LEFT - Move the current shape to the left
-
RIGHT - Move the current shape to the right
-
DOWN - Move the current shape down
-
UP - Rotate the current shape clockwise
-
CTRL - "Hard drop" current shape
-
P - Pause the current game
-
M - Mute all
-
N - Mute music
-
PAGE UP - Increase the volume
-
PAGE DOWN - Decrease the volume
This project is licensed under the WTFPL (Do What The Fuck You Want To Public License, Version 2)
Copyright © 2016-2017 spypunk spypunk@gmail.com
This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the COPYING file for more details.





