Skip to content

ComSSA/flappy-bird-pygame

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flappy Bird Game

This project contains a Flappy Bird game developed using the Python programming language and the Pygame game development library. In this project, reflecting the classic and entertaining game mechanics, players control a bird and navigate it through obstacles to see how long they can survive.

Gameplay

The player's objective is to control the bird, maneuvering it through pipes and earning the highest score possible. Players can make the bird flap upwards by pressing the spacebar on the keyboard. However, precise timing is essential to prevent the bird from falling too quickly. If the bird collides with pipes or the ground, the game ends.

How to Play

  1. Clone the project files to this repository.
  2. Ensure that you have Python 3 and the Pygame library installed on your computer.
  3. Navigate to the project directory in your terminal.
  4. Start the game by using the command python3 main.py.
  5. Use the spacebar key on the keyboard to control the bird's upward movement.
  6. If the player collides, they can restart the game by pressing the spacebar key.

Why This Project?

  • A great opportunity to enhance your fundamental Python programming skills.
  • An engaging and interactive way to dive into game programming.
  • A chance to practice game mechanics and using the Pygame library.

ComSSA Changes

  • Changed all keybinds to be space / LMB
  • Randomised gap size between pipes to increase difficulty as score increases
  • Leaderboard functionality
  • Support for a resizeable window
  • ComSSA logo & colour changes

Contributions and Development

  • mehmetemineker - Original Fork
  • Tttbkhn - ComSSA 2025
  • raph-h - ComSSA 2025

If you're interested in contributing to this project, feel free to open a pull request. We welcome suggestions for adding new features, fixing bugs, or improving the overall experience.

License

This project is licensed under the Apache License 2.0. For more information, please refer to the LICENSE file.


Challenge yourself to beat your own high score in Flappy Bird and enjoy the fun of this game! If you have any questions or feedback, don't hesitate to reach out.

About

Pygame Flappy Bird Game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%