Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

🐤 Flappy Bird

A lightweight endless arcade game built with Python & Pygame

One tap. One mistake. One more try.


About

Inspired by the iconic arcade classic, this project recreates the addictive gameplay of Flappy Bird using Python and Pygame.

Control a tiny bird through an endless series of pipes while trying to survive for as long as possible. With simple controls but increasingly challenging gameplay, every run becomes a test of timing, focus, and precision.


Gameplay

Press Space

      │

      ▼

Bird Flaps

      │

      ▼

Avoid Pipes

      │

      ▼

Pass Obstacles

      │

      ▼

Increase Score

      │

      ▼

Keep Flying

      │

      ▼

Game Over

      │

      ▼

Play Again

Preview

Replace this GIF with your own gameplay recording for a more professional presentation.


Features

🎮 Gameplay

  • Endless arcade mode
  • Smooth bird physics
  • Randomized pipe generation
  • Increasing challenge
  • Instant restart

⚡ Performance

  • Lightweight application
  • Smooth frame updates
  • Responsive controls
  • Optimized rendering
  • Beginner-friendly code

🐤 Game Mechanics

  • Gravity simulation
  • Collision detection
  • Dynamic score tracking
  • Pipe spawning
  • Continuous gameplay

💻 Development

  • Python
  • Pygame
  • Object-oriented structure
  • Easy customization
  • Cross-platform support

Controls

Key Action
Space Flap
↑ Up Arrow (optional) Flap
ESC Exit Game

Technology Stack

Layer Technology
Language Python
Game Library Pygame
Graphics Pygame Surface API
Input Keyboard Events
Platform Desktop

Project Structure

Flappy-Bird/

├── assets/
│   ├── bird.png
│   ├── pipe.png
│   ├── background.png
│   └── sounds/
│
├── main.py
├── requirements.txt
└── README.md

Getting Started

Clone the repository

git clone https://github.com/yourusername/Flappy-Bird.git

Move into the project

cd Flappy-Bird

Install dependencies

pip install pygame

Run the game

python main.py

Gameplay Highlights

  • Endless gameplay
  • Arcade-inspired mechanics
  • Smooth bird movement
  • Collision detection
  • Dynamic obstacle generation
  • Real-time score system
  • Lightweight architecture
  • Fast startup

Future Improvements

  • High score leaderboard
  • Sound effects
  • Background music
  • Multiple bird skins
  • Day/Night mode
  • Difficulty levels
  • Mobile controls
  • Power-ups
  • Pause menu
  • Animated backgrounds

Developer

Mohammad Fazil Firojkhan Malek

Python Developer

Game Development Enthusiast

Passionate about building fun, interactive experiences through clean and efficient code.


License

MIT License


Ready to test your reflexes?

⭐ If you enjoyed the game, consider giving this repository a star.

About

A classic Flappy Bird clone built with Python and Pygame featuring smooth gameplay, endless obstacles, and retro arcade fun.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages