How ld2000king/zbang-pwa works
Zabang Royale is a Hebrew word-game PWA with a Capacitor native shell. Players enter the main game, find words on a letter board, and earn scores and progression; separate modes include a spell-tower game and multiplayer battles. The runtime also supports themed arenas, purchases, cloud saves, and community word moderation. The excerpts show dictionary merging, multiplayer submission, and Firebase-backed features, but omit the HTML wiring and much of the main game implementation, so several relationships are intentionally left unspecified.
Main entry points: game.js Word game · multiplayer.js Battle royale · words.js Word packs · words-bulk.js Bulk word pack
Components 15
Game play
- Word game
game.js - Tower mode
tower.js - Battle royale
multiplayer.js
Game content
- Base dictionary
game.js - Word packs
words.js - Bulk word pack
words-bulk.js
Online services
- Word moderation
admin.js - Cloud saves
cloudsave.js - Firebase setup
firebase-config.js
Presentation and commerce
- City themes
themes.js - Avatars
avatars.js - SVG icons
icons.js - In-app purchases
iap.js
Other components
- Player
- Firebase
Connections 9
- Player → Word game: plays
- Word game → Base dictionary: merges words
game.js - Word packs → Base dictionary: adds words
words.js - Bulk word pack → Base dictionary: adds words
- Word game → Battle royale: submits words
multiplayer.js - Battle royale → Firebase: reads and writes
multiplayer.js - Word moderation → Firebase: moderates words
admin.js - Cloud saves → Firebase: syncs saves
- Firebase setup → Firebase: configures access