https://github.com/gotz1480/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!
https://github.com/gotz1480/flappy-bird-clone
flappy-bird flappy-bird-c flappy-bird-clone flappy-bird-game
Last synced: 6 months ago
JSON representation
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!
- Host: GitHub
- URL: https://github.com/gotz1480/flappy-bird-clone
- Owner: gotz1480
- License: gpl-3.0
- Created: 2023-10-05T05:53:18.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-07T02:31:31.000Z (almost 2 years ago)
- Last Synced: 2025-04-04T13:13:20.262Z (6 months ago)
- Topics: flappy-bird, flappy-bird-c, flappy-bird-clone, flappy-bird-game
- Language: C++
- Homepage:
- Size: 28 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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!

## 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:
```bash
sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev
```2. Clone this repository:
```bash
git clone https://github.com/yourusername/flappy-bird-clone.git
cd flappy-bird-clone
```3. Build the game:
```bash
make
```4. Run the game:
```bash
./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](LICENSE) file for details.