Information Technology Reference
In-Depth Information
10. Design using UML any of the OOA models for worm game application. In
this game, a worm, controlled by the user, navigates the 2 dimensional screen
and eats pieces of ''candy''. When a piece is eaten, the worm grows by one
segment. If the worm runs into the wall, or runs into itself, the worm dies and
the game is over. As time increases, the speed of the worm increases. You
should focus on the states of the application, but not the worm. Start from the
initial state (application is not initialized) and final state (application is
destroyed). Define the states between these two. Then connect states with
events and transitions (events can come to the game from ''outside'' also).
Consider, for example, the following events:
• Start game
• Stop game
• Restart game
• Worm died
• Candy eaten
• Timer tick
Are there any other events or transitions, such as time events, signals, or self-
transitions?
References
Abbott
RJ
(1983)
Program
design
by
informal
English
descriptions.
Commun
ACM
26(11):882-894
Bentley LD, Dittman KC, Whitten JL (2004) Systems analysis and design methods
Berard EV (1993) Essays on object-oriented software engineering, vol. 1. Prentice-Hall, Inc..
Booch G (1994) Object-oriented analysis and design with applications. The Benjamin/Cummings
Publishing Company, Inc., New York
Bruegge B, Dutoit A (2004) Object-oriented software engineering: using UML, patterns, and
java, 2nd edn. Pearson Education, Ltd., Upper Saddle River
Carroll
JM
(1995)
Scenario-based
design:
envisioning
work
and
technology
in
system
development
Coad P, Yourdon E (1990) Object-oriented analysis. PrenticeHall, Englewood Clis, New Jersey
Holtzblatt K, Beyer HR (1995) Requirement gathering: the human factor. Commun ACM, vol 38
IEEE Computer Society (1998) Software Engineering Standards Committee, and IEEE-SA
Standards Board. IEEE Recommended Practice for Software Requirements Specifications,
Institute of Electrical and Electronics Engineers
Keil M, Carmel E (1995) Customer-developer links in software development. Commun ACM, vol 38
Miller
R
(2003)
Practical
UML:
a
hands-on
introduction
for
developers.
Available
via
Embarcadero. http://edn.embaracardero.com/article/31863 . Accessed 1 Dec 2003
Monarchi DE, Puhr GI (1992) A research typology for object-oriented analysis and design.
Commun ACM 35(9):35-47
Schach S (2008) Object-oriented software engineering. McGraw-Hill Higher Education, Boston
Stiller E, LeBlanc C (2002) Project-based software engineering. Addison-Wesley, Boston
Search WWH ::




Custom Search