Snake + AI

Snake + AI

July 2021

Initially I built a snake game in Python using Pygame. I then added a genetic algorithm to allow the snake to learn how to play the game. The snake learns by playing the game multiple times and evolving its strategy. I used the Python library NEAT-Python to implement the genetic algorithm.

Technologies Used:

PythonPygameGenetic Algorithm
PythonPygameGenetic Algorithm
PythonPygameGenetic Algorithm
PythonPygameGenetic Algorithm
PythonPygameGenetic Algorithm