Skip to content

IRONalways17/Flappy-Bird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flappy Bird Clone

Flappy Bird Clone Version License

A smooth, beginner-friendly clone of the popular Flappy Bird game built with pure HTML, CSS, and JavaScript. This version features more forgiving controls and smoother gameplay than the original.

✨ Features

  • Smooth Controls: Hold the space bar to make the bird rise, release to gently glide down
  • Beginner-Friendly: Slower falling speed and more forgiving collision detection
  • Responsive Design: Works on both desktop and mobile devices
  • No External Dependencies: Built with pure HTML, CSS, and JavaScript - no frameworks required
  • Score Tracking: Tracks current score and high score

🖼️ Screenshots

Game Start Gameplay Game Over

🚀 How to Play

  1. Press the Space Bar (or tap the screen on mobile) to start the game
  2. Hold the Space Bar or touch the screen to make the bird rise
  3. Release to let the bird glide down gently
  4. Navigate through the pipes to score points
  5. Try to achieve the highest score possible!

📋 Controls

  • Space Bar / Screen Tap: Start game, make bird rise when held
  • Release: Bird gently falls

🛠️ Installation

Option 1: Play Online

Visit https://IRONalways17.github.io/flappy-bird-clone to play the game instantly from your browser.

Option 2: Run Locally

  1. Clone this repository:
    git clone https://github.com/IRONalways17/flappy-bird-clone.git
    

Navigate to the project directory:

bash cd flappy-bird-clone Open index.html in your browser:

You can double-click the file in your file explorer Or use a local server like Live Server for VS Code 🧩 Project Structure Code flappy-bird-clone/ ├── index.html # Main HTML file ├── style.css # Styling for the game ├── script.js # Game logic and mechanics └── README.md # Project documentation 🔧 Customization Feel free to modify the game to suit your preferences:

Change Game Speed: Adjust the gameSpeed variable in script.js Modify Bird Physics: Tweak gravity, jumpStrength, and maxFallVelocity variables Adjust Difficulty: Change pipeGap and pipeSpawnInterval for easier/harder gameplay Visual Changes: Modify colors and styles in both the JavaScript and CSS files 💡 Future Improvements Add sound effects for jumping, scoring, and game over Implement persistent high scores using localStorage Add different bird characters to choose from Create day/night cycle backgrounds Add power-ups and special abilities

About

Enjoy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors