private int Bonus() { var isStrike = FirstBall == 10; var isSpare = !isStrike && (FirstBall + SecondBall == 10); if (isSpare) { return Next1Ball(); } if (isStrike) { return Next1Ball() + Next2Ball(); } return 0; }