Refactor addPlayer/removePlayer to joinGame/leaveGame