You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe User is bound to a game by username, and not some session ID. This allows a user to switch names while they're part of a game, and can start their own game (or whatever).
This might easily break games mid game (unless we write logic to account for it).
I think this issue can be solved if we simply disable the name text box if they're already in a game. Although it would be a nice enhancement if we can let them change their names before the game officially starts.
The text was updated successfully, but these errors were encountered:
To dive into this a bit more, a game will get deleted if all the users leave. But I believe that the current logic will compensate for a player leaving (since we have a many player to one game model). This might not be such a big problem (if a problem at all).
I believe User is bound to a game by username, and not some session ID. This allows a user to switch names while they're part of a game, and can start their own game (or whatever).
This might easily break games mid game (unless we write logic to account for it).
I think this issue can be solved if we simply disable the name text box if they're already in a game. Although it would be a nice enhancement if we can let them change their names before the game officially starts.
The text was updated successfully, but these errors were encountered: