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!
- Classic Flappy Bird gameplay mechanics
- Pipe collision detection
- Scoring system
- Simple 2D graphics
- SDL2
- SDL2_image
- SDL2_ttf (if you have text rendering)
- SDL2_mixer (if you added sound effects/music)
-
Install the required dependencies:
sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev
-
Clone this repository:
git clone https://github.com/yourusername/flappy-bird-clone.git cd flappy-bird-clone
-
Build the game:
make
-
Run the game:
./game
- Space or Left Mouse Button : Flap
- R: Restart
- Esc: Quit
This project is licensed under the GNU General Public License - see LICENSE file for details.