package robocup.lab.intelligent;

import org.apache.log4j.BasicConfigurator;

import atan.model.AbstractTeam;

/**
 * The Class IntelligentRun.
 */
public class IntelligentRun {

	/**
	 * The main method.
	 *
	 * @param args the arguments
	 */
	public static void main(String[] args) {
        BasicConfigurator.configure();
		AbstractTeam team = null;
        if (args.length == 0) {
            team = new IntelligentTeam("My1", 6000, "localhost");
        } else {
            Integer val      = new Integer(args[0]);
            int     port     = val.intValue();
            String  hostname = args[1];
            team = new IntelligentTeam("My1", port, hostname);
        }
        team.connectAll();
	}

}
