The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 3 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
(6) Figure E6.3 contains a class diagram for two person playing a game of table tennis. Construct a state model corresponding to the class model.
           The rules of table tennis are as follows. At the beginning of a game, the two player A????1pingA????1 for serveA????1that is, they bounce the ball over the net and hit it back and forth several times. The winner of the A????1pingA????1 serves first.
           The winner of the A????1pingA????1 serves five times. Then the other player serves five times. The the winner of the A????1pingA????1 serves five times again. This alternation of serve continues until either player wins the game.
           A game may be won shutout (11-0) or when a player reaches 21 with at least a 2- point margin. If the score becomes tied at 20- 20, the players then begin alternating individual serves until a player has a 2- point margin of victory.
Pleasr Please help me.
use argoUML
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll