Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.75 KB

File metadata and controls

33 lines (27 loc) · 1.75 KB

Flappy Bird - SFML C++ Implementation

A classic mobile game that has been reimplemented using C++ and the SFML library. This implementation stays true to the original gameplay that made the game so popular, with smooth and efficient gameplay, and optimized performance.

Getting Started

These instructions will help you get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Before you can run this game, you will need to have the following installed on your machine:

C++ compiler SFML library

Installing

Here's how to install the prerequisites on a Windows machine:

Install a C++ compiler, such as MinGW or Visual Studio Download the SFML library from the official website (https://www.sfml-dev.org/) Extract the downloaded archive to a convenient location on your machine Add the SFML library to your compiler's include and library directories

Running the game

Once you have the prerequisites installed, follow these steps to run the game:

Clone this repository to your local machine Navigate to the cloned repository using a terminal or command prompt Compile the source code using the following command: g++ main.cpp -o flappybird -lsfml-graphics -lsfml-window -lsfml-system Run the compiled game using the following command: ./flappybird

Gameplay

The player controls a bird that moves continuously upwards, and the player must tap the screen to make the bird flap its wings and fly higher. The bird must fly through pipes without touching them, and the goal is to travel as far as possible.

Built With

C++ - Programming language used SFML - Multimedia library used for graphics and sound

Authors

Hemanth Kumar- Creator and maintainer of this project