This repository contains a Flappy Bird game implemented in Python using the Pygame library. The game provides a classic and interactive gaming experience where the player controls a bird and tries to navigate through pipes without colliding with them or the ground.
- Simple and intuitive gameplay
- Control the bird by flapping its wings to avoid obstacles
- Randomly generated pipes with varying heights and gaps
- Collision detection with the ground and pipes
- Game over screen with an option to restart the game
- Clone or download the repository to your local machine.
- Make sure you have Python 3.x installed.
- Install the Pygame library by running
pip install pygame
in your terminal. - Navigate to the project directory and run
python mpyFlappyBirdGame.py
to start the game.
- Press the spacebar or the up arrow key to make the bird flap its wings and fly upwards.
- Avoid collisions with the ground and pipes to stay in the game.
- If the bird collides with an obstacle, the game ends, and a game over screen is displayed.
The game is inspired by the original Flappy Bird game created by Dong Nguyen. The assets used in this project are sourced from various free game asset websites.
This project is licensed under the MIT License.
Enjoy playing Flappy Bird!
Note: This project is for educational purposes and personal enjoyment. It is not associated with the original Flappy Bird game or its creators.