Angry Birds clone game in JavaScript.
This project is a static web app (HTML + JavaScript). To test it locally, it is recommended to use a small HTTP server (not file://), because Service Workers only work on http:// / https://.
- Enter the project folder
- Start an HTTP server
- Option A (Python 3):
python3 -m http.server 8000 - Option B (PHP):
php -S localhost:8000 - Option C (script):
bash ./serve.sh(default port: 8000)
- Option A (Python 3):
- Open in the browser:
http://localhost:8000/AngryBirds.html
The page registers a Service Worker (worker.js) that may cache files and, during development, make you see “old” content.
If you change files and do not see updates:
- Open DevTools → Application → Service Workers → “Unregister”
- (Optional) Clear Storage/Cache as well and reload the page
- Levels: levels/ contains
level1.json...level15.json - Validation: levels are validated at runtime (allowed assets / required fields); in case of errors, the game falls back to level 1
- Assets: assets/
- assets/images/ (images)
- assets/audio/ (audio)
- assets/fonts/ (bitmap fonts)
- assets/icons/ (icons/screenshots)
- Tooling: tools/extract_embedded_assets.py can extract embedded images/audio from
AngryBirdsGame.jsintoassets/(if present) - Smoke test:
python3 tools/smoke_test.py
The Angry Birds resources (images, fonts, music and sounds) are provided for educational purposes ONLY. This demo is not affiliated with or endorsed by their respective copyright holders.