Anyone have the code for simple automatic host switching?
It sounds a quite promising solution to one of my Apps.
What if switching would work like this:
There are always two room(name)s reserved per one game
When a new game starts, everyone goes to RoomPrimary.
If RoomPrimary host drops, each (currently playing) client automatically connect to RoomBackup, where the 1st one becomes new Host. This 1st host will send the latest game status to everyone else.
After this switch, the only problem is that new players would go to RoomPrimary that is empty/wrong...ideas how to notify them ?
I assume one game can be in just one room at once, right?