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.
- 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.
- Press any key to make the bird flap and stay in the air.
- Avoid the pipes and try to pass through the gaps.
- Collect points by successfully navigating through the pipes.
- Press "R" to restart the game after a game-over.
- HTML5
- JavaScript
- Clone the repository:
git clone https://github.com/sudhantechie/Flappy-Bird.git