How oscarthewhitehathacker/penguin-invaders works
Penguin Invaders is presented as a browser game, but the available source only documents its offline runtime: a service worker precaches the app shell and background music, then serves same-origin requests using cache-first or network-first strategies. The game’s internal gameplay flow cannot be established from the available files. The service-worker excerpt supports the caching relationships shown; gameplay behavior is not represented.
Main entry points: service-worker.js Offline worker · index.html Game shell · new_background_music.mp3 Background music
Components 5
Other components
- Player
- Game shell
index.html - Background music
new_background_music.mp3 - Offline worker
service-worker.js - Browser cache
Connections 4
- Player → Game shell: opens
- Offline worker → Browser cache: uses
service-worker.js - Offline worker → Game shell: precaches
service-worker.js - Offline worker → Background music: precaches
service-worker.js