Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kodesun/flappy-bird

Flappy Bird recreation written in C++, using the SFML library. Simple yet addictive. 🐤🔥🎮
https://github.com/kodesun/flappy-bird

flappy-bird sfml sfml-game

Last synced: 2 days ago
JSON representation

Flappy Bird recreation written in C++, using the SFML library. Simple yet addictive. 🐤🔥🎮

Awesome Lists containing this project

README

        

# Flappy Bird

## Introduction
Recreation of the classic _Flappy Bird_ game, written in C++ and implementing the SFML 2.5.1 library.
This simple yet addictive game allows you to control a bird as it navigates through pipes.
The objective of the game is to keep the bird flying and avoid hitting the pipes to achieve the highest score
possible. You will earn medals towards the end depending on your scores!

## Pre-requisites
* C++11
* Cmake
* SFML 2.5.1 Library

## Installation
1. ### SFML
* **Linux (Debian)**
```bash
sudo apt-get install libsfml-dev
```

* **MacOS**
(Install Homebrew if **_brew_** not recognized)
```zsh
brew install sfml
```
Also disregard the shared_ptr issues with clangd. These have no effect on how the application runs.

* **Windows** \
Install SFML dependency \
Build and run .exe file. (Not tested on Windows)

2. ### Clone & Build
```bash
git clone https://github.com/kodesun/Flappy-Bird.git
cd Flappy-Bird && mkdir build/
cd build/
cmake ..
make
./Flappy-Bird
```
**run.sh** is a bash script designed to compile the project and include the SFML library.

## Snapshots
![Snapshot1](assets/snapshots/fb1.png)
![Snapshot2](assets/snapshots/fb2.png)

## License
Standard MIT license. Feel free to modify as you please.

## Author
Created by [@kodesun](https://github.com/kodesun)