bet icon indicating copy to clipboard operation
bet copied to clipboard

Frontend will send a tableId with the initial request

Open piggydoughnut opened this issue 4 years ago • 1 comments

The user will always know the tableId when joining a game. It will either be one of the existing games in the list and the gui will know it's tableId. Or the user will provide his own private tableId for the private game.

GIU will send tableId with the initial websocket Connect request.

{
   type: Connect
   tableId: xxx
}

piggydoughnut avatar Jun 11 '20 04:06 piggydoughnut

@sg777 do I need to send this tableId in all other messages too or you will identify users in a different way?

piggydoughnut avatar Jun 11 '20 04:06 piggydoughnut