wesleydebruijn / orlog

Clone of minigame from Assassin's Creed: Valhalla written in Elixir
https://www.orlog.app
MIT License
9 stars 1 forks source link

[lobby]: player disconnection #86

Open jvhoven opened 3 years ago

jvhoven commented 3 years ago

Currently when the player does not interact for a specific time period the WebSocket will think the player has left and it will briefly go back to the "Waiting for player..." status. Two things should be fixed in this instance:

  1. When the player disconnects, it should still show their respective player card.
  2. After a specific timeout the game should abandon, indicating that the player has disconnected.