Giter Site home page Giter Site logo

bgb's Introduction

BGB

BGB is a web application that allow board game players to create and join game rooms. BGB brings all trading transaction in trading games online so now players can manage their moneys when they play games such as Monoploy from their personal devices. I get inspiration for the UI from Kahoot.it.

This is a web application written in Javascript using:

  • Frontend: created-react-app, bootstrap , reactstrap
  • Backend : express, socket.io
  • Database: mongobd

bgb's People

Contributors

vichym avatar

Watchers

James Cloos avatar  avatar

Forkers

oudammeas

bgb's Issues

socket join room malfunction

#70875cac045508d5786369c78602eed2695e4266

when calling socket.join(<Game Code>) within app.get( ), the first socket that creates a game does not get added into the specified room. The next socket trying to join different room is instead added to the previous room. the next will be added to all available rooms while it should be only added to its specified room.

Example

  • A creates a game with gameCode : 555086 did not get added to Room 555086, only to his own ID { ‘1j4OkMd7rsVX1txRAAAA’: ‘1j4OkMd7rsVX1txRAAAA’ }
  • B joins 555086, get added to { ‘555086’: ‘555086’, ‘1j4OkMd7rsVX1txRAAAA’: ‘1j4OkMd7rsVX1txRAAAA’ }
  • C creates a game with gameCode: 466094, did not get to the Room 466094 but instead get into { ‘555086’: ‘555086’, ‘1j4OkMd7rsVX1txRAAAA’: ‘1j4OkMd7rsVX1txRAAAA’ }
  • D joins 466094, get into all { ‘466094’: ‘466094’, ‘555086’: ‘555086’, ‘1j4OkMd7rsVX1txRAAAA’: ‘1j4OkMd7rsVX1txRAAAA’}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.