← All projects

Flappy Bird AI

An AI-controlled Flappy Bird game, built with Pygame and trained using the NEAT algorithm.

Flappy Bird AI running a training generation in the game

About the project

I recreated Flappy Bird in Python and used NEAT to train an agent to control the bird. Pygame provides the game environment, making the training process visible as the agent learns to navigate the pipes.

  • A playable game environment built with Pygame.
  • A bird controlled by an AI agent.
  • Training with NeuroEvolution of Augmenting Topologies.