public FactoryOfPlaysForCpu (Player cpu, int largestCapture){
		IteratorOnPieces iterator = (IteratorOnPieces) cpu.iterator();
		int bestEvaluation = -100; //inizializzato a -inf.
		while(iterator.hasNext()){
			iterator.next();
			FactoryOfPlaysForCpuForPiece factory = new FactoryOfPlaysForCpuForPiece(iterator.getPosition(), cpu, largestCapture);
			int evaluation = factory.getMaxEvaluation();
			if (evaluation >= bestEvaluation) {
				if (evaluation != bestEvaluation)
					bestPlays.clear();
				addAll(factory);
				bestEvaluation = evaluation;
			}
		}
			
	}