sorensenmarius / AvalonWebAppNoDB

Recreating the Avalon Web App without using a database
3 stars 0 forks source link

Losing communication over socket #40

Open sorensenmarius opened 2 years ago

sorensenmarius commented 2 years ago

Inbox outbox pattern

At least once, talk by Ian Cooper @ NDC

sorensenmarius commented 2 years ago

Trying to refetch the game when the socket is automatically reconnected.

It is looking like we have to "rejoin" the hub group with the game id to keep getting updates for the game.

sorensenmarius commented 2 years ago

The patterns mentioned in the issue description don't seem relevant anymore.

sorensenmarius commented 2 years ago

Current app seemed pretty stable over a couple of games on my phone in Chrome. So this might be good. Cant relly tell yet.

sorensenmarius commented 2 weeks ago

2 years later. I think we can get something going with using REST for client actions and websockets to push game state updates from the server.

Finally, the client will need to be able to ask for the game state if it is disconnected and recreates the socket connection.