This repository contains the source code for a clone of the popular Flappy Bird game, developed using JavaScript. The game aims to replicate the original Flappy Bird experience, where players control a bird and navigate it through a series of pipes without crashing.
Flappy Bird is a simple yet addictive game where the player must avoid obstacles by controlling the bird's flight. The game increases in difficulty as the player progresses, requiring quick reflexes and precise timing.
- Classic Gameplay: Replicates the original Flappy Bird gameplay mechanics.
- Scoring System: Keeps track of the player's score as they successfully navigate through pipes.
- Collision Detection: Ends the game when the bird collides with pipes or the ground.
- Graphics and Sound: Includes basic graphics and sound effects to enhance the gaming experience.
- JavaScript: The core programming language used for development.
- HTML: Used to structure the web page.
- CSS: Used to style the web page and game elements.
- Canvas API: Utilized for rendering game graphics.
- Web Browser
-
Clone the Repository
bash
Copy code
git clone https://github.com/NagiPragalathan/Flappy-Bird-Game.git cd Flappy-Bird-Game
-
Open the Game
Open the
index.html
file in your preferred web browser.
- Start the Game: Open the
index.html
file to start the game. - Control the Bird: Click the mouse or press the spacebar to make the bird flap its wings and fly higher. Release to let the bird descend.
- Avoid Obstacles: Navigate the bird through the gaps in the pipes without colliding.
- Score Points: Earn points for each set of pipes you successfully pass through.
arduino
Copy code
├── assets/
│ ├── images/
│ │ ├── background.png
│ │ ├── bird.png
│ │ ├── pipe.png
│ │ └── base.png
│ └── sounds/
│ ├── wing.wav
│ ├── point.wav
│ └── hit.wav
├── css/
│ └── style.css
├── js/
│ └── main.js
├── index.html
├── README.md
└── LICENSE
Contributions to the Flappy Bird Game project are welcome! If you would like to contribute, please fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.