Genetic Algorithm for Tetris


The goal of this project was to dip a toe in some machine learning. As such, I decided to take a crack at Tetris© because I've always been a fan. This approach uses a genetic algorithm to train a player that makes decisions based on a number of key features extracted from the stack such as stack height and number of holes.

Gameplay demo

Sorry, your browser doesn't support the <canvas> element.