Skip to content

RtiM0/chainreaction

Repository files navigation

Chain Reaction

Recreating Chain Reaction game.

Installation

  • 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 4for 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: "*" } });

Stills

Main Menu Online Multiplayer

TODO

  • Use React, Express, Mongo and Socket.io to make it a multiplayer.