A minimal, classic-style Flappy Bird clone written in Python.
Flappybird is a simple 2D arcade game where the player controls a bird that must fly between pairs of pipes without colliding with them. The objective is to score as many points as possible by passing through gaps.
- Simple, responsive controls
- Score tracking
- Increasing difficulty over time
- Lightweight and easy to read Python code
- Python 3.8+
- PyGame (or other specified game library if used)
Install dependencies with:
pip install pygame- Clone or download the repository.
- Ensure dependencies are installed.
- Run:
python Flappybird.pyThe main entry point is
Flappybird.py.
- Space or Left Mouse Button: Flap / jump
- Esc: Quit
- The game loop updates physics (gravity + flap), moves obstacles (pipes) leftward, and checks for collisions.
- Points are awarded when the bird successfully passes a pair of pipes.
Flappybird.py— Main game file / entry pointOldversion.py— Previous or experimental versionREADME.md— This file
Contributions are welcome. To contribute:
- Fork the repo
- Create a feature branch
- Open a pull request
Specify your license here (e.g., MIT). If unsure, add a LICENSE file and reference it.
For questions or feedback, open an issue or contact the project owner.
Enjoy the game! ✅