A simple Bomberman-style game with a Node server and WebSocket multiplayer-ready architecture.
npm install
npm run startThen open http://localhost:3000
- public/ — static client files (index.html, css, client js)
- shared/ — shared modules used by both client and server (constants, game state)
- index.js — server entry (Express static hosting + WebSocket)
- The server is authoritative for game state. Clients send inputs; server broadcasts snapshots ~60 FPS.
- Client renders based on snapshots. Input is sent with minimal messages.
- Extend GameState to support rooms, player spawn selection, power-ups, etc.