public String loginPlayerToServer(String username, String x, String y) {
		// Attempt to write out to the server
		// And receive the server's response.
		try 
		{
			outToServer.println("LOGIN " + username + " " + x + " " + y); // Write data out to server
			String replyFromServer = inFromServer.readLine();
			if(replyFromServer.equals("LOGINSUCCESS")) { // And receive the server's reply.)
				System.out.println("Logged in successfully!");
			} else {
				System.out.println(replyFromServer);
			}

			return replyFromServer;
		}
		/**
		 * Thrown if we couldn't read out to the server, or in from it for some reason...
		 */
		catch (IOException dataStreamException) 
		{
			// TODO Auto-generated catch block
			System.out.println("There was a problem exchanging data to/from the server!");
			dataStreamException.printStackTrace();
			return "ERROR";
		}
	}