A visually charming, smooth, and addictive clone of the original Flappy Bird, built in Python using Pygame. Designed for fun and for learning, this project demonstrates game development principles such as animation, physics, collision detection, and event handling.
- 🕹️ Tap-to-fly mechanics with gravity and impulse
- 🏞️ Infinite scrolling background and ground
- 🚧 Randomly spawning pipes with collision detection
- 🖼️ Game-over screen and score tracking
- 💡 Clean, modular code structure for learning
- 🎵 Cool background music for every move
- Python 3
- Pygame Library
- Custom game assets (images + sounds)
Flappy-Bird-Game/
│
├── main.py # Main game logic
├── music/ # Game sound effects or background music
├── pictures/ # Bird, pipes, background, base images
├── flappybird.png # Face/banner of the game
└── README.md # Project documentation
Your goal: Pass through the pipes without hitting them or the ground. The longer you survive, the higher your score!
Controls:
SPACEor mouse click to flap the bird upward- Don’t hit the pipes or fall to the ground
Make sure Python 3 and pip are installed.
git clone https://github.com/FatimaaShahid/Flappy-Bird-Game.git
cd Flappy-Bird-Game
pip install pygamepython main.py- Basics of 2D game design using Pygame
- Physics simulation with gravity and motion
- Real-time event handling (keyboard inputs)
- Sprites, sound, and collision logic
- Game loop and FPS control
- Introduce a high-score saving system 💾
- Game menu or splash screen 🖼️
- Pause/Resume functionality ⏸️
- Game logic and structure inspired by CodeWithHarry’s Flappy Bird Tutorial on YouTube
- Bird & pipe assets inspired by original Flappy Bird
- Developed by Fatima Shahid
- 📸 Instagram: @fatimas_abstract
- 💼 LinkedIn: linkedin.com/in/fatima-shahid
- ✍️ Medium: @fatima-shahid
⭐ If you like this project, please give it a star!
Fork it, play it, and feel free to suggest improvements.
