Thanks to visit codestin.com
Credit goes to github.com

Skip to content

paulboul1013/cfb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

cfb (c language flappy bird)

A Flappy Bird game implemented in C language using the ncurses library in the terminal.

Requirements

  • GCC compiler
  • ncurses development library

Install Dependencies (Ubuntu/Debian)

sudo apt-get update
sudo apt-get install build-essential libncurses5-dev libncursesw5-dev

Compilation

make

Game Controls

  • Space or Up Arrow: Make the bird jump
  • r or Space: Restart after game over
  • q or ESC : Quit the game

Game Features

  • Simple physics engine (gravity and velocity)
  • Randomly generated pipe obstacles
  • Simple count score system
  • Collision detection
  • Game over and restart functionality

reference

'Ncures Library':https://invisible-island.net/ncurses/man/ncurses.3x.html

About

simple flappy bird game with c

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published