# 🐦 Flappy Bird - JavaScript Game A simple 2D Flappy Bird clone built with HTML, CSS, and JavaScript. ![screenshot](assets/preview.png) --- ## 🎮 Features - Smooth bird movement with gravity - Dynamic pipe generation with collision - Score + High Score saving in localStorage - Game Over + Restart system - Real images and sound effects --- ## 🚀 How to Play - Press any key to flap - Avoid hitting the pipes - Try to beat your high score! --- ## 🛠 How to Run the Game Locally ### Option 1: Simple HTML (limited support) Just open `index.html` in your browser ⚠️ Note: Some browsers may block images/sounds due to `file://` restrictions --- ### Option 2: Recommended – Run a local server #### 🐍 If you have Python: ```bash # In the project folder: python -m http.server