Home

Make an AI computer

that teaches itself to play a game.

  • The article is straight forward. Built a simple game using Pygame & applied NEAT (NeuroEvolution of Augmenting Topologies) algorithm to train AI.
  • The files were downloaded and then the program was ready to run.
  • We had challenges getting the game running but after changing the following code in “RollingBall.py” it worked.
def jump(self):
"""
make the ball jump
:return: None
"""
self.vel = -9.2
self.tick_count = 0
self.height = self.y

Links to article and files.

AI can learn to play Snake and Tetris

Neural Network Learns to Play Snake
I Made an A.I. to MASTER TETRIS