Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bugs #6

Open
7 of 9 tasks
worms19 opened this issue Apr 16, 2020 · 0 comments
Open
7 of 9 tasks

Fix bugs #6

worms19 opened this issue Apr 16, 2020 · 0 comments

Comments

@worms19
Copy link
Contributor

worms19 commented Apr 16, 2020

  • when creating a room, make the user join it directly in one request, to avoid websocket conflicts (check if room is defined before joining it)

  • when refreshing the page when connected in a room, directly connect to the room by setting the right state

  • on nextWord socket msg, send only the next word, not all the wordsOfRound

  • on addWord socket msg, don't broadcast all the words to the players, just send the number of words

  • decrease the number of words per player bugs when words are already set

  • we need to send only the word to guess to the active player : send also total number of words and number of words remaining

  • when joining a room we need to update the url without redirection

  • reformate the gamestate object by centralizing the data in the room object

  • Disconnect inactive sockets (after xx min)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant