Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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. 🐤🔥🎮
- Host: GitHub
- URL: https://github.com/kodesun/flappy-bird
- Owner: kodesun
- License: mit
- Created: 2024-05-03T15:26:02.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-19T22:54:03.000Z (3 months ago)
- Last Synced: 2024-11-15T22:38:03.369Z (2 months ago)
- Topics: flappy-bird, sfml, sfml-game
- Language: C++
- Homepage:
- Size: 2.03 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)