public static void main(String[] args) throws IOException 
	{
		// TODO Auto-generated method stub
		String name = "";
		String host = "";
		int port = 0;
		int i = 0;

		int money;

		try//name, host, and then port -- lines 43-73 checks the args[] for info
		{
			name = args[i];
			i++;
		}
		catch(ArrayIndexOutOfBoundsException e)
		{
			//name = DEFAULT_TEST_NAME;//tester
			System.err.println("Please enter a name when attempting to join a poker table.");
			System.err.println("ERROR - No player name specified.");
			System.exit(0);//cannot have no name
		}

		try
		{
			host = args[i];
			i++;
		}
		catch(ArrayIndexOutOfBoundsException e)
		{
			host = DEFAULT_HOST;
		}

		try
		{
			port = Integer.parseInt(args[i]);
		}
		catch(ArrayIndexOutOfBoundsException e)
		{
			port = DEFAULT_PORT;
		}

		if(port > 65535 || port < 0)
			port = DEFAULT_PORT;//port must be within limits

		money = DEFAULT_MONEY;//TODO tester

		Player newPlayer = new Player(host, port, name, money);//create new player
		newPlayer.accept();
	}