Coder Social home page Coder Social logo

red-tetris's People

Contributors

dependabot[bot] avatar leonardogb avatar nis267 avatar

Watchers

 avatar

Forkers

nis267

red-tetris's Issues

gameOver problem unknown

Je crois qu'il y a un problème quand on a plusieurs joueurs, je jeu se met en gameOver alors qu'il ne devrait pas le faire.

React Warning: Cannot update a component (`App`) while rendering a different component (`Login`).

Warning: Cannot update a component (`App`) while rendering a different component (`Login`). To locate the bad setState() call inside `Login`, follow the stack trace as described in https://fb.me/setstate-in-render
    in Login (created by Context.Consumer)
    in Route (created by App)
    in Switch (created by App)
    in Router (created by HashRouter)
    in HashRouter (created by App)
    in div (created by App)
    in div (created by App)
    in App
    in Provider

Error côté serveur server on disconnect

error :

/home/user42/Red-Tetris/src/server/index.js:236
      games = games.map((game) => {
                    ^
TypeError: Cannot set property 'timeToDelete' of undefined
    at /home/user42/Red-Tetris/src/server/index.js:239:11
    at Array.map (<anonymous>)
    at Socket.<anonymous> (/home/user42/Red-Tetris/src/server/index.js:236:21)
    at Socket.emit (events.js:315:20)
    at Socket.emit (/home/user42/Red-Tetris/node_modules/socket.io/lib/socket.js:142:10)
    at Socket.onclose (/home/user42/Red-Tetris/node_modules/socket.io/lib/socket.js:454:8)
    at Client.onclose (/home/user42/Red-Tetris/node_modules/socket.io/lib/client.js:254:24)
    at Socket.emit (events.js:327:22)
    at Socket.onClose (/home/user42/Red-Tetris/node_modules/engine.io/lib/socket.js:318:10)
    at Object.onceWrapper (events.js:421:28)

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.