dnsbty / level10

Phoenix LiveView multiplayer card game

Home Page:https://level10.games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change creator if the original creator leaves

dnsbty opened this issue · comments

Right now if the creator leaves the game while in the lobby, the game becomes unplayable because no one else can start it. We should change it so that the next player in the list will become the creator at that point.

If there is no one else left in the list of players, we should then go ahead and delete the game.