private ScoreCategory findMax(DiceRoll roll) {
		Set<ScoreCategory> figures = used.keySet();

		int limit = 1;
		if (isThree)
			limit = 3;

		ScoreCategory max = null;
		int maxValue = 0;

		for (ScoreCategory f : figures) {
			int value = ScoreCategory.computePoints(roll, f);
			if (value > maxValue && used.get(f) < limit) {
				max = f;
				maxValue = value;
			}
		}
		return max;
	}