All projects

Pong AI

Neuroevolution

you · w/sneat

Classic Pong with an AI opponent that wasn’t programmed to play. It was evolved.

Using NEAT (NeuroEvolution of Augmenting Topologies) through neat-python, a population of 50 neural networks plays against each other, and the best performers reproduce into the next generation. After training, the best network is saved and you can play against it with the W and S keys.

The game itself is built with pygame.

Built with

  • Python
  • NEAT
  • pygame