This is a clone of the popular Flappy Bird game built using Python and Pygame. The objective of the game is to navigate the bird through the pipes without hitting them.
- Simple and intuitive controls
- Animated bird sprite
- Randomly generated pipes
- Score tracking
- Game over and restart functionality
- Python 3.13
- Pygame
- Clone the repository:
git clone https://github.com/yourusername/flappybird.git
cd flappybird- Install the dependencies:
pip install pygameRun the game using the following command:
python main.py- Click the mouse to make the bird fly.
flappybird/
├── assets/
│ ├── bird1.png
│ ├── bird2.png
│ ├── bird3.png
│ ├── bg.png
│ ├── ground.png
│ ├── pipe.png
│ └── restart.png
├── sprites/
│ ├── bird.py
│ └── pipe.py
├── constants.py
├── main.py
├── Pipfile
├── .gitignore
└── README.md
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
This project is licensed under the MIT License.
