This project was completed as a part of Project1-1 within UM DSAI bachelor's program.
Run (requires Java installed)
- Windows
gradlew.bat run- Linux/MacOS
./gradlew run- Q/E for rotating left/right respectively
- SPACE for pentomino drop
- UP, DOWN, LEFT and RIGHT for one-cell move in respective direction
With this app you can both play tetris yourself and watch the bot play it. The bot is a greedy algorithm based on a linear metric. The weights for the metric were obtained with a built-from-scratch genetic algorithm. To use the app you have to sign up, the app will remember your gamertag.
Human playing:
tetris.mp4
AI playing:


