public static float evalPolicy(AController pacManController, int trials) {
		Random rnd=new Random(0);
		Thread[] threads = new Thread[trials];
		AccumulatedScore accumulatedScore = new AccumulatedScore();
		
		for (int i = 0; i < trials; i++) {
			threads[i] = new Evaluator(new Game(rnd.nextLong()), pacManController.copy(), accumulatedScore);
			threads[i].start();
		}
		
		for (Thread thread : threads) {
			try {
				thread.join();
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
		
		return (float) accumulatedScore.getScore() / trials;
	}