Skip to content

Latest commit

 

History

History
63 lines (47 loc) · 1.95 KB

README.md

File metadata and controls

63 lines (47 loc) · 1.95 KB

Flappy Bird

ViewCount

Flappy-Bird

Description

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.

Features

  • Player-controlled bird with simple physics
  • Procedurally generated pipes
  • Score tracking
  • Sound effects for collisions and scoring

Screenshots

Screenshot

Installation

  1. Clone the repository:

    git clone https://github.com/drahulsingh/Flappy-Bird.git
    cd Flappy-Bird
  2. Install the required dependencies:

    pip install pygame

How to Play

  1. Run the main game script:

    python main.py
  2. Use the space bar to make the bird fly.

  3. Navigate the bird through the gaps in the pipes.

  4. Avoid hitting the pipes and the ground to keep playing.

Files

  • 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.

Acknowledgements

  • Pygame - The library used to develop the game.
  • Images and sounds were sourced from various free resources.

Contributing

Feel free to contribute to this project by opening issues or submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For any inquiries or issues, please contact drahulsingh.