zerocontribution / rpg

Winter game
Apache License 2.0
0 stars 0 forks source link

Networking: Server re-election #55

Open robzienert opened 10 years ago

robzienert commented 10 years ago

When the host leaves, it should elect current member in-game to become the new server. I imagine this would be done by keeping track of connection metrics - like which client has the best connection.

Once elected, the game would pause for up to 30 seconds while the clients would re-connect to the new server and sync with the state of the newly elected server.