Flappy Bird is a classic arcade-style game where players control a bird, navigating it through a series of pipes. The objective is to pass through as many pipes as possible without hitting them.
- Player-controlled bird with simple physics
- Procedurally generated pipes
- Score tracking
- Sound effects for collisions and scoring
-
Clone the repository:
git clone https://github.com/drahulsingh/Flappy-Bird.git cd Flappy-Bird
-
Install the required dependencies:
pip install pygame
-
Run the main game script:
python main.py
-
Use the space bar to make the bird fly.
-
Navigate the bird through the gaps in the pipes.
-
Avoid hitting the pipes and the ground to keep playing.
main.py
: The main game script that contains the game logic and runs the game.background.png
: The background image for the game.bird.png
: The image representing the player's bird.pipe.png
: The image representing the pipes.rotated_pipe.png
: The rotated image for the pipes.sfx_hit.wav
: Sound effect for when the bird hits a pipe.sfx_point.wav
: Sound effect for when the bird successfully passes through a pipe.
- Pygame - The library used to develop the game.
- Images and sounds were sourced from various free resources.
Feel free to contribute to this project by opening issues or submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
For any inquiries or issues, please contact drahulsingh.