Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.06 KB

README.md

File metadata and controls

56 lines (37 loc) · 1.06 KB

Flappy Bird Clone

This is a simple clone of the popular game "Flappy Bird" developed using the SDL2 library. Navigate the bird through the pipes and try to achieve your highest score!

Game Screenshot

Features

  • Classic Flappy Bird gameplay mechanics
  • Pipe collision detection
  • Scoring system
  • Simple 2D graphics

Dependencies

  • SDL2
  • SDL2_image
  • SDL2_ttf (if you have text rendering)
  • SDL2_mixer (if you added sound effects/music)

Building and Running

  1. Install the required dependencies:

    sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev
  2. Clone this repository:

    git clone https://github.com/yourusername/flappy-bird-clone.git
    cd flappy-bird-clone
  3. Build the game:

    make
  4. Run the game:

    ./game

Controls

  • Space or Left Mouse Button : Flap
  • R: Restart
  • Esc: Quit

License

This project is licensed under the GNU General Public License - see LICENSE file for details.