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.
- 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
- Press the Space Bar (or tap the screen on mobile) to start the game
- Hold the Space Bar or touch the screen to make the bird rise
- Release to let the bird glide down gently
- Navigate through the pipes to score points
- Try to achieve the highest score possible!
- Space Bar / Screen Tap: Start game, make bird rise when held
- Release: Bird gently falls
Visit https://IRONalways17.github.io/flappy-bird-clone to play the game instantly from your browser.
- 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


