Answer
Delete all the horizontal arrows in Figure 7.5 except for the first and last.
That is, the judge should evaluate Player A’s serve and directly send the
updateScore message to Score. (This, of course, ignores the chance for
a second serve. How could you modify the program design to allow for
double faults?)
Work Step by Step
Delete all the horizontal arrows in Figure 7.5 except for the first and last.
That is, the judge should evaluate Player A’s serve and directly send the
updateScore message to Score. (This, of course, ignores the chance for
a second serve. How could you modify the program design to allow for
double faults?)