Skip to content

sushinoya/tetris-ai

Repository files navigation

TETRIS AI

This is a simple attempt at building an AI capable of playing and improving at Tetris. It uses the classic Genetic Algorithm and Simulated Annealing to learn and improve.

FEATURES

Many features were considered when making this AI and the following were tried and tested:

  • Aggregate Height
  • Max Height
  • Number Of Patches
  • Sum Of Depth Of Holes
  • Average eight
  • Number Of Blocks Above Holes
  • Number Of Rows Cleared
  • Unevenness
  • Number Of Holes
  • Number Of Well-Blocks

The final weights obtained in the test runs that we conducted cleared over 4 million lines, with an average of approximately 500,000.

CONTRIBUTORS

About

🎲 Used Simulated Annealing + Genetic Algorithm to design a Tetris AI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages