Skip to content

borno18/flappy-bird-cpp

Repository files navigation

Flappy

A simple Flappy Bird clone built with C++14 and SDL2.
This project is a fun way to learn game development fundamentals such as rendering, input handling, collision detection, and audio playback using SDL2.


Features

  • Classic Flappy Bird gameplay: tap to flap, avoid pipes, survive as long as possible.
  • 2D graphics rendering powered by SDL2.
  • Image loading with SDL2_image.
  • Text rendering (score display, messages) using SDL2_ttf.
  • Background music and sound effects with SDL2_mixer.
  • Cross-platform support (Linux, Windows, macOS).

Requirements

  • C++14
  • SDL2
  • SDL2_image
  • SDL2_ttf
  • SDL2_mixer

Build and Run

git clone https://github.com/phoemur/flappy-bird-cpp.git
cd flappy-bird-cpp
mkdir -p build
cd build
cmake ..
make
cd ..
./flappy

Screenshot

Screenshot

About

A simple Flappy Bird clone written in C++ using SDL2

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors