Skip to content

Flappy Bird is a game built with HTML5 and JavaScript. Control the bird by pressing any key to flap and navigate through pipes. The goal is to avoid collisions and achieve the highest score. Includes score tracking and a restart option after a game over.

License

Notifications You must be signed in to change notification settings

sudhantechie/Flappy-Bird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flappy Bird Clone

A Flappy Bird game built with HTML5 and JavaScript. The objective is to control a bird by pressing any key to flap and avoid pipes. The game tracks your score and includes a game-over state, with an option to restart the game.

Features

  • Flappy Bird mechanics: Press any key to make the bird flap.
  • Random pipe generation: Pipes appear at random heights and move across the screen.
  • Score tracking: The score increases every time the bird successfully passes through pipes.
  • Game over: The game ends when the bird collides with a pipe or falls off the screen.
  • Restart option: Press "R" to restart after the game is over.

How to Play

  1. Press any key to make the bird flap and stay in the air.
  2. Avoid the pipes and try to pass through the gaps.
  3. Collect points by successfully navigating through the pipes.
  4. Press "R" to restart the game after a game-over.

Technologies Used

  • HTML5
  • JavaScript

Installation

  1. Clone the repository:
    git clone https://github.com/sudhantechie/Flappy-Bird.git

About

Flappy Bird is a game built with HTML5 and JavaScript. Control the bird by pressing any key to flap and navigate through pipes. The goal is to avoid collisions and achieve the highest score. Includes score tracking and a restart option after a game over.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages