use of planetwar.SimplePlayerInterface in project SimpleAsteroids by ljialin.
the class GameRunner method main.
// class to run multiple trials of an agent playing Asteroids
public static void main(String[] args) {
int nTicks = 1000;
int nTrials = 10;
SimplePlayerInterface agent;
agent = getEvoAgent();
// agent = getRandomAgent();
ElapsedTimer t = new ElapsedTimer();
System.out.println(runTrials(agent, nTicks, nTrials));
System.out.println(t);
}
Aggregations