How pablosazycz/ski-escape works
Ski Escape is a browser and Android arcade skiing game. The player steers through a run, collecting coins and power-ups while avoiding obstacles and escaping the Yeti; run outcomes feed profile progression, shop, quests, and replay. The main game module also coordinates translation, sound, and ads. The excerpts show those integrations and secure local storage, but do not expose all gameplay or persistence call sites, so some feature-level relationships are omitted rather than inferred.
Main entry points: main.js Menus and controls · ads.js Ad manager · security.js Data integrity · i18n.js Translations
Components 15
Game and progression
- Run simulation
main.js - Game rendering
main.js - Profile and records
main.js - Shop and skins
main.js - Daily quests
main.js
Interface and localization
- Menus and controls
main.js - Translations
i18n.js
Game services
- Procedural audio
sound.js - Ad manager
ads.js - Data integrity
security.js - Browser storage
Platform runtime
- Android host
android/app/src/main/java/com/skiescape/game/MainActivity.java - Capacitor runtime
Other components
- Player
- Google AdMob
Connections 15
- Player → Menus and controls: uses controls
main.js - Menus and controls → Run simulation: starts and pauses
main.js - Run simulation → Game rendering: draws state
main.js - Run simulation → Profile and records: updates profile
main.js - Profile and records → Shop and skins: updates shop UI
main.js - Profile and records → Daily quests: updates quest UI
main.js - Menus and controls → Translations: toggles language
main.js - Menus and controls → Translations: applies translations
main.js - Run simulation → Procedural audio: plays reward sound
main.js - Menus and controls → Procedural audio: toggles mute
main.js - Menus and controls → Ad manager: hides banner
main.js - Run simulation → Data integrity: uses integrity module
main.js - Data integrity → Browser storage: reads and writes
security.js - Android host → Capacitor runtime: extends bridge
android/app/src/main/java/com/skiescape/game/MainActivity.java - Ad manager → Google AdMob: loads and shows ads
ads.js