Mwyann / ydkjs

You Don't Know Javascript
https://www.ydkjs.eu/
GNU General Public License v3.0
60 stars 9 forks source link

Game hangs after "Gibberish Questions" #6

Open dmham187 opened 4 years ago

dmham187 commented 4 years ago

Hi, first of all thanks for this project. It works really well most of the time. I just found a little bug.

When a gibberish question is appearing and one player entered the (correct?) answer, this event doesn't get synced to the other player. The player who entered the answer proceeds to the category selection and the other one ist still hanging in the question screen and "waiting for player" appears. Could be avoided by not answering the question. This happened to me whenever I played over the internet.

Is this a general problem, or did I miss something?

dmham187 commented 4 years ago

I testet a bit more and noticed, when player one presses his button to solve, the text field where he has to enter the answer also appears for player two. Both can enter text, but only the player who pressed his button gets recognized. Than they get out of sync...