Format for A1.Model

Please conform to the following format when completing your A1.model.

You are asked to provide the following two deliverables.

Use Cases

When describing the Narcotic game, I used six use cases. Here is one:

Use case Name: Initialize Game
Flow of Events:
  1. Deck is shuffled and placed on the left side of the table
  2. From the top of the deck, four cards are dealt in a row face up to form the foundation of four piles
  3. The number of cards left is set to 48
  4. The score is set to 0
Entry Condition: Game has not yet started
Exit Condition: Game is ready to play
Quality Requirements: none

Note that the Quality Requirements section is OPTIONAL, as mentioned in class. Don't make one up just because you think I am looking for it.

Initial Class Model

As mentioned in class, I believe that the existing model framework should suffice for all selected variations. This means that you will be able to take advantage of the existing classes as is without change. For this assignment, you need to turn in a class diagram that explains the structure of your primary Solitaire class. Below you see my solution for Narcotic.

Grading Rubric for A1.Model

This assignment is worth 6 points:

Satisfactory Class Diagram: 1

Satisfactory Use Cases: 5

 -- For each missing use case, take off 1 point [but can't lose more than 3 points]

 -- If a Use Case contains incorrect logic, take off 1/2 point [but can't lose more than 2 points]