Flappy Bird Game v2 with SoundFX
This version 2 of our Flappy Bird game created by WP Snippets AI and Claude 4 Sonnet by Anthropic now features sound effects, more power-ups, smoother gameplay and nicer graphics. This version also supports mobile screens.
Click Start Game and get ready to use your spacebar or mouse click to flap your wings.
To see how the game was built using WP Snippets AI, scroll down below.
🐤 Flappy Bird
You have 3 lives! Collect power-ups for abilities!
🛡️ Shield | ⏱️ Slow-Mo | ✖️2 Double | 🧲 Magnet | ❤️ Extra Life
Game Over
Score: 0
Level Reached: 1
High Score: 0
The AI prompt
Make an advanced Flappy Bird game with levels, sound effects, power-ups, and lives in JavaScript in one file
This advanced Flappy Bird game is based on the classic game but with additional lives and levels that increases in difficulty. The game saves your high score in localStorage so you can try to beat your personal best across sessions. It also features cool sound effects, and smooth polished gameplay.
🎮 Game Features:
Progressive Levels – Every 5 points advances you to the next level
Increasing Difficulty – Pipes get faster, gaps get smaller, and spawn rate increases
Sound Effects – Flap, score, collision, and level-up sounds using Web Audio API
Particle Effects – Visual feedback when flapping
Smooth Animations – Bird rotation, clouds moving in background
Score Tracking – Local high score saves automatically
Professional UI – Start menu, game over screen with statistics
🎯 Controls:
Press SPACE or Click anywhere to make the bird flap
Navigate through pipes without hitting them
The game gets progressively harder as you level up!
🌟 Visual Polish:
Animated clouds in the background
Gradient pipes with highlights
Detailed bird sprite with eye and beak
Ground decoration
Smooth bird rotation based on velocity
🎁 Power-Up Types:
🛡️ Shield (Cyan) – Invincibility! Pass through pipes and boundaries without dying
⏱️ Slow Motion (Purple) – Slows down pipes to 40% speed for easier navigation
✖️2 Double Points (Gold) – Earn 2 points per pipe instead of 1
🧲 Magnet (Pink) – Power-ups attract toward you automatically within range
Power-ups spawn randomly every ~5 seconds with a 70% chance
Each power-up lasts 5 seconds with a visual timer bar at the bottom
Glowing, rotating icons make them easy to spot
Celebration particle burst when collected
Special sound effect for power-up collection
The active power-up name displays above the timer bar
❤️ Lives System Features:
3 Lives to Start – You begin with 3 hearts displayed in the top-left corner
Life Loss – When you hit a pipe or boundary:
Lose 1 life (unless shield is active)
Bird resets to centre position
2 seconds of invulnerability (flashing effect)
Dramatic particle explosion
Special sound effect
Invulnerability Period – After losing a life, you flash and can’t be
hurt for 2 seconds, giving you time to recover
Extra Life Power-Up – New rare ❤️ power-up (15% spawn chance)
that restores 1 life if you’re not at max
Game Over – Only triggers when all 3 lives are depleted