void SetupPlayers(GetInitialStateResponse response) { foreach (var player in response.Players) { if (player.BoundPlayer.Id.Equals(Client.State().UserId)) { SetGamePlayerInfo(player); } var newPlayer = SetupPlayer(player); Players.Add(newPlayer); } // Tell server we are ready to start receiving game packets Client.Emit(PacketUtils.NewPacket("ready_to_start_game")); }