GithubHelp home page GithubHelp logo

flappybird's Introduction

FlappyBird Game created with c++ and SFML

About the game

Flappy Bird is a mobile game developed by Vietnamese video game artist and programmer Dong Nguyen, under his game development company Gears. The game is a side-scroller where the player controls a bird, attempting to fly between columns of green pipes without hitting them. Nguyen created the game over the period of several days, using a bird protagonist that he had designed for a cancelled game in 2012.

This project is a recreation of the original Flappy Bird game.

Project requirements

For the moment it only runs in Linux, installing the SFML library.

By default, the Makefile uses G++ compiler, but you can change the variable CXX.

Build

You will need to use CMake min version 3.28.

  1. Create build folder in the root directory of the project.
  2. Then execute cmake .. from the build folder That will create the make file, download the SFML dependencies and copy the resources folder to the build one.
  3. Finally execute cmake --build . To compile the project.
  4. Execute the program by doing ./flappy_bird

How to Play

The main goal of the game is to guide the bird through the pipes that appear from right to left, avoiding the collision with them. The more pipes it pass, the more points the player acquires. The game ends when the bird collides with the ground or with any pipe.

A mouse or a touchpad are required in order to play.

Controllers

  • Left mouse button: makes the bird "jump" a certain vertical distance.

flappybird's People

Contributors

lazaro92 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.