CpSc
372
Assignment
5
Software
Detailed Design
Description:
The initial software architecture has been determined to follow the pipeline simulation loop architectural style. In particular, we will use an integrated Model/View architecture (that is the position of the objects on the gameboard is kept by the objects themselves) to implement the pipeline simulation loop architectural style. There will be components that implement the interaction with the user and components that represent the core concepts - in this case the state of the game.
We are now doing detailed design so we are adding classes that implement the concept we found during domain analysis.
We need to make the current design more well defined before we explore additional design
Steps:
1.
Start with the existing
UML model of the product line.
2.
Investigate the Object
Constraint Language by downloading the OCL
spec.
3.
Check out the examples
on this page.
4.
Select at least three
classes in the UML model and write pre/post-conditions for each public method
using OCL.
5.
Check out sample pre/post-conditions on this page.
This is a 2 person team assignment. Hard copy
is due Wednesday, February 26, 2003 no
later than 4 pm. Turn in to the CS
dept office.
Grading will be based on
1.
Completeness
2.
Correctness
3.
Any value added beyond
the basic assignment
Points: 4