public static CalculateWeapon makeCalc(int type, int roundNumber) {
        switch (type) {
            case RANDOM:
                return new RandomCalculator();
            case SMARTCALCULATOR:
                return new SmartCalculator(roundNumber);
        }
        throw new IllegalArgumentException("Not a valid type or type not yet supported. Type was " + type);
    }