Genetic algorithm used to play Tetris
Instructions to run
Run "python main.py" to train the genetic algorithm
Run "python tetris.py" to play Tetris
Files
-
main.py - Run this in order to run Tetris AI training
-
tetris.py - Basic Tetris game source code
-
tetris_ai.py - Genetic algorithm for Tetris
-
tetris_trainer.py - This script is ran in main.py to train the AI
-
test.py - Basic tests for functions in tetris_ai