Skip to content

maaziii-ust/Flappy-Bird-Game-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Flappy Bird (Python + Pygame)

Overview

Flappy Bird is a simple arcade-style game developed in Python using the Pygame library. The player controls a bird that must fly through gaps between pipes while avoiding collisions. The game features gravity-based movement, score tracking, obstacle generation, and restart functionality.

Features

  • Gravity-Based Bird Movement
  • Jump Mechanism
  • Random Pipe Generation
  • Collision Detection
  • Score Tracking
  • Game Over Screen
  • Restart Functionality
  • Smooth Gameplay

Technologies Used

  • Python 3.12
  • Pygame

Controls

  • SPACE → Make the bird jump
  • ENTER → Restart the game after Game Over

Installation

Install Pygame

pip install pygame

Run the Game

python flappy_bird.py

Screenshots

Game Play

Game Play

Game Over Screen

Game Over

Concepts Demonstrated

  • Event Handling
  • Game Loop Programming
  • Gravity Physics
  • Collision Detection
  • Random Obstacle Generation
  • Score Management
  • Pygame Graphics Rendering

Future Improvements

  • Sound Effects
  • High Score Saving
  • Start Menu
  • Difficulty Levels
  • Animated Bird Sprites
  • Background Music
  • Multiple Themes

Author

Maaz Siddique

About

A Flappy Bird clone developed in Python using the Pygame library featuring gravity physics, obstacle generation, score tracking, collision detection, and restart functionality.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages