@Override
    public int check(DiceSet diceSet) {
        int points = 0;

        Set<Integer> vals = new HashSet<Integer>();
        for (int i = 0; i < diceSet.SIZE; ++i) {
            vals.add(diceSet.getValue(i));
        }

        for (int i = 1; i <= diceSet.getDiceMax() - n + 1; ++i) {
            points = reward;

            for (int j = i; j < i + n; ++j) {
                if (!vals.contains(j)) {
                    points = 0;
                    break;
                }
            }
            if (points == reward) {
                break;
            }
        }
        return points;
    }