How dukechristyd/bombaway works
Bombs Away 3D is a browser-based multiplayer Bomberman-style game. Players enter the arcade lobby, join or host a room, choose a map and role, then play or spectate while the Node.js server authoritatively updates arena state and broadcasts it to clients. The browser renders that state in Three.js and provides controls, HUD, and procedural audio. Firebase-backed profiles, career stats, avatars, and leaderboards complement local-mode play. The excerpts establish the main client/server and service boundaries; unsampled event handlers and renderer updates limit finer-grained wiring.
Main entry points: client.js Game Controller · firebase-service.js Profile and Stats Service · server.js WebSocket Server · index.html Arcade Interface
Components 11
Arcade Play
- Arcade Interface
public/index.html - Game Controller
public/client.js
Match Engine
- WebSocket Server
server.js - Room Simulation
server.js
Profiles and Records
- Profile and Stats Service
public/firebase-service.js - Firebase Configuration
public/firebase-config.js - Firebase Services
- Browser Local Storage
Game Experience
- 3D Arena Renderer
public/game3d.js - Procedural Audio
public/audio.js
Other components
- Player
Connections 11
- Player → Arcade Interface: uses
README.md - Arcade Interface → Game Controller: hosts
README.md - Game Controller → WebSocket Server: sends game events
public/client.js - WebSocket Server → Game Controller: broadcasts room state
server.js - WebSocket Server → Room Simulation: updates matches
server.js - Game Controller → 3D Arena Renderer: initializes
public/client.js - Game Controller → Profile and Stats Service: uses profile service
public/client.js - Game Controller → Procedural Audio: plays effects
public/client.js - Profile and Stats Service → Firebase Configuration: checks configuration
- Profile and Stats Service → Firebase Services: syncs auth and records
public/firebase-service.js - Profile and Stats Service → Browser Local Storage: caches offline data
public/firebase-service.js