package de.sit.torcs.client.main;

import de.sit.torcs.ops.cmd.action.CallDriverStart;

public class Main {

	/**
	 * @param args		define all the options of the client.
	 * <port:N> 		specify the port for the connection (default is 3001)
	 * <host:ADDRESS> 	specify the address of the host where the server is running (default is localhost)  
	 * <verbose:on> 	set verbose mode on (default is off)
	 * <id:ClientID> 	specify the ID of the client sent to the server (default is championship2009) 
	 * <maxEpisodes:N> 	set the number of episodes (default is 1)
	 * <maxSteps:N> 	set the max number of steps for each episode (0 is default value, that means unlimited number of steps)
	 * <stage:N> 		set the current stage: 0 is WARMUP, 1 is QUALIFYING, 2 is RACE, others value means UNKNOWN (default is UNKNOWN)
	 * <trackName:name> set the name of current track
	 */
	public static void main(String[] args) {
		
		/* CONNECTION PARAMS: HOST PORT VERBOSE */
		String[] connection = new String[]{"host:127.0.0.1","port:3001","verbose:off"};
		String[] client = new String[]{"id:name","","false"};
		String[] track = new String[]{"track:name"};
		
		System.setProperty("user.dir","/home/vogelm/");
		
		new CallDriverStart().data(args).execute();
		
//		new TorcsClientPort()
//		.parameter(args)
//		.recorder(new TorcsDecisionRecorder("bernie"))
//		.recorder(new TorcsShiftingRecorder("bernie"))
//		.driver(new TorcsDriverBernie())
//		.create()
//		.start();
		
	}
	
/* END OF CLASS */}
