1.5. An Example

Before diving into the details of requirements analysis and OOA/D, this section presents a birds-eye view of a few key steps and diagrams, using a simple example—a “dice game” in which a player rolls two die. If the total is seven, they win; otherwise, they lose.

Define Use Cases

Requirements analysis may include a description of related domain processes; these can be written as use cases.

Use cases are not an object-oriented artifact—they are simply written stories. However, they are a popular tool in requirements analysis and ...

Get Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Process, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.