Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyFlappyBird

Flappy Bird made in Python (PyGame)

Installation

Install required libraries:

pip install pygame
pip install neat-python
pip install numpy

Project Structure

  • FlappyBirdGame/ - Manual game (playable with SPACE)
  • FlappyBirdGameAI/ - AI training system (NEAT algorithm)
  • imgs/ - Game graphics (bird, pipes, background)

Quick Start

Play the game manually:

cd FlappyBirdGame
python flappy_bird_game.py
# Press SPACE to jump

Train AI (recommended):

cd FlappyBirdGameAI
python train.py

Test trained AI:

python test_ai.py

For detailed AI documentation, see FlappyBirdGameAI/README.md

Lib instalation:

  • pip install pygame
  • pip install python-neat
  • pip install python-nest
  • pip install python-time

About

Flappy Bird made in Python (PyGame)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages