This project is a Tetris-style game built using Java, featuring Pentomino shapes instead of traditional Tetriminoes.
It includes a graphical user interface (GUI), a high-score tracking system, and an AI bot that plays the game autonomously.
✔️ Fully Playable Game: Drop and rotate Pentomino pieces in a 5x15 grid.
✔️ AI Bot: Uses heuristics to optimize piece placement.
✔️ High Score System: Keeps track of the best runs.
✔️ Piece Order Optimization: Identifies an ideal piece sequence for maximizing the score.
✔️ Collision Detection & Line Clearing: Implements classic Tetris mechanics with Pentominoes.
git clone https://github.com/MKBasaran/pentomino-tetris-ai.git
cd pentomino-tetris-ai
javac -d bin src/*.java
java -cp bin Main
- The AI bot evaluates column heights, line clear potential, and future piece impact.
- Implements greedy heuristics to optimize each move.
- 🟡 Java (No external libraries)
- 🟡 Swing (For GUI elements)
- 🟡 Backtracking & Heuristic Algorithms (For AI decision-making)
👤 Kaan Basaran
👤 Nikita Souslau
👤 Vasil Raychev
👤 Luca Nichifor
👤 Théo Massignan
👤 Matteo Cannata
👤 Kennedy Fernandes