filmov
tv
Tetris AI Bot - Python

Показать описание
Demonstration of Tetris AI Bot written for a college seminar (course Applied Artificial Intelligence) in July 2017. My AI is on the left, playing against a test bot which makes random moves.
Created from scratch with programming language Python and object-oriented programming. API was used for Tetris interface.
The main goal was to create a bot that will clear as many lines as possible, and therefore, to make as many moves as possible. To meet this goal, heuristic was used to calculate the best move for a given Tetris piece by trying out all the possible moves (rotation and position).
Created from scratch with programming language Python and object-oriented programming. API was used for Tetris interface.
The main goal was to create a bot that will clear as many lines as possible, and therefore, to make as many moves as possible. To meet this goal, heuristic was used to calculate the best move for a given Tetris piece by trying out all the possible moves (rotation and position).