A tetris clone developed in JavaFX.
Controls:
The Start button is used to initialize the game, but also used to start over when the player has lost.
- UP key: rotates figure
- DOWN key: moves piece faster down
- LEFT key: moves piece to the left
- RIGHT key: moves piece to the right
Requires java 16.
Run with maven: mvn clean javafx:run
src
└── main
├── java
│ ├── controller
│ │ └── GameController.java
│ ├── model
│ │ ├── GameField.java
│ │ ├── Point.java
│ │ └── Tetromino.java
│ ├── module-info.java
│ ├── startup
│ │ └── Main.java
│ └── view
│ ├── GameDisplay.java
│ ├── ShapeDisplay.java
│ └── View.java
└── resources
└── fonts
└── Retro_Gaming.ttf