Recreating Chain Reaction game.
- Front-end
git clone https://github.com/RtiM0/chainreaction.git cd chainreaction npm install npm run start
- Back-end
git clone https://github.com/RtiM0/chainreaction-api.git cd chainreaction-api npm install node server.js
- Change in
chainreaction/src/socket.js
line 4
for debug env:export const socket = socketio.connect("http://127.0.0.1:8080");
- Change in
chainreaction-api/server.js
line8
for debug env:const io = new Server(server, { cors: { origin: "*" } });
Main Menu | Online Multiplayer |
---|---|
- Use React, Express, Mongo and Socket.io to make it a multiplayer.