private void OnConnectionEstablished(Connection connection) { Console.WriteLine("Connection established!"); Client newclient = new Client(id, connection, false); game.SendMessage("Welcome to Coinche Game", 1, newclient); waiting.Add(newclient); if (id == 3) { play = true; Console.WriteLine("Game Start"); for (int i = 0; i < 4; i++) { tmp.Add(waiting[i]); } game.InitGame(tmp); } ++id; Thread.Sleep(net.SLEEP); }