@ -11,6 +11,10 @@ public class BownlingCalculator {
while (singleDigit.find()) {
sum += Integer.parseInt(singleDigit.group());
}
singleDigit = Pattern.compile("(\\d)/ (\\d)").matcher(listOfThrows);
sum += 10 - Integer.parseInt(singleDigit.group(1)) + Integer.parseInt(singleDigit.group(2));
return sum;