Skip to content

Somnef/snake_neat_ai

Repository files navigation

Applying the NEAT algorithm to the Snake game

This is a project aiming to explore the potential of reinforcement learning techniques combined with genetic algorithms as explained in the paper about the Neuro Evolution of Augmenting Topologies (link: https://nn.cs.utexas.edu/downloads/papers/stanley.ec02.pdf) when applied to "simple" goal based classic games, namely, Snake.

This project includes:

  • A full implementation of the Snake game, using PyGame.
  • A setup of the learning algorithm, helped with the neat-python library's implementation of it.
  • A training mode and a testing mode.

Preview of the training phase:

2022-10-27 22-19-07

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages