First place in Tetris 99 using computer vision, classical AI, and a whole lot of free time
TetrisAI
tl;dr
We created a program to play Tetris 99, an online multiplayer game for the Nintendo Switch. The algorithm used computer vision to determine the state of the board, a depth-first search algorithm with a hand-crafted utility function to find a good next block placement, and sent the series of button presses required to perform that placement via a microcontroller that communicated with the Switch via USB. Our algorithm was able to consistently get in the top 15 players and occasiona...
Read more at bpinzone.github.io