A multiplayer Bomberman game built using plain JavaScript, DOM manipulation, and WebSockets.
Objectives: For this project you have to create a bomberman alike game, where multiple players (2-4) can join in and battle until one of them is the last man standing. Chat. 3 minutes timer. Up speed, Up multiple boms, Up fire line. 60 fps.
miniframework/elements.js: My miniFrameworkframework/index.js: My Frameworkindex.html: Main HTML filecss/style.css: Main stylesassets/bomberman.png:sprite sheet for game elementsrc/: JavaScript source filesapp.js: Entry pointelement.js: Virtual DOM abstractioneventSystem.js: Custom event handlinginputManager.js: Input handlingrouter.js: URL-based routingstate.js: State managementgame.js: Main game logicmap.js: Map generation and renderingcoordinates.js: Unified coordinate system for element positioningchatUtils.js: handle add/send message for chat featureplayer.js: Player logicbomb.js: Bomb, explosion, and power-up logicwaitingRoom.js: Multiplayer waiting roomwebsocket.js: WebSocket client
server/server.js: Node.js WebSocket server
HOW to RUN 1:
- If it’s a new project → Initialize one:
If you’re starting from scratch and need to create a package.json:
npm init -y npm install react npm install express npm install websocket
- If it’s an existing project → Install dependencies: node server/server.js
OPEN in Firefox or Chrom: http://localhost:9090
Made in 01 Founders team: vkyrychu, Radek, ababa, schana. 2025.