sopra-fs24-group-28 / spotify-memory-client

Apache License 2.0
0 stars 0 forks source link

Bug: "FULL" button upon leaving and game end before manual reload #88

Closed DTaskiran closed 5 months ago

DTaskiran commented 5 months ago

When a player leaves an active game, the lobby overview may show them still to be in that lobby when the game state changes to open. This is caused by the fact that in the lobbyoverview, they receive a websocket update that the game state has changed from onplay to open. However, the original rest request still shows them in the playerlist.

DTaskiran commented 5 months ago

@EliasWJMuller @NicSchuler @hs-kim1990 As I was mentioning this morning, I think this bug must be solved in the backend. It should also be trivially solvable by simply always also sending the gameUpdateDto whenever the scoreBoardDto is sent.

Let me know what you think, I would suggest moving this to the back-end.