public void Start()
 {
     try
     {
         ExecuteClient();
     }
     catch (ConnectionLostException e) {
         console.WriteLine(e.Message);
         console.WriteLine("Press any key to end client");
         console.ReadKey();
     }
 }
 public ClientHandler()
 {
     console = new ConsoleAccess();
     try {
         TryToConnect();
         Start();
     }
     catch (SocketException e) {
         console.WriteLine("Couldn't connect to server");
         console.ReadKey();
     }
     playing = false;
 }