private void CheckLastPosition() { if (frames.Count != 9) { throw new ArgumentException("only last frame can have 3 balls"); } }