private int GetFrameScore(IFrame frame, IEnumerable <IFrame> nextFrames) { return(frame.GetScores().Sum() + GetRolls(nextFrames).Take(GetBonusCountFromResult(frame.Result)).Sum()); }