Simple game on Java Swing.
Uses Java 17.
- Install
git
andmaven
. - Clone Tetris from github:
- Either run
git clone https://github.com/jf17/tetris.git
- Go into the directory:
cd tetris
- Run
mvn clean compile
to compile Tetris. - Run
mvn exec:java
to run Tetris after compilation.