0.2 Parcheesi Assessment

In this assessment, you will build a UML object diagram that represents one specific Parcheesi game state. You will create a Player named Tara, represent four red Pawns, connect the Player to those Pawns, and use the Feedback System to check and revise your work.

  1. 1. Create a new object diagram.

    Begin with a blank Violet object diagram. The first object you add represents one specific player in the game rather than the general idea of every possible player.

    Step 1 — Open a new object diagram

    Violet UML Editor File menu showing New, Static view, Object diagram.
    Create a new Violet object diagram

    Step 2 — Create the Player object

    Violet Diagram tools panel with the Object tool selected.
    Object tool
    Violet object Properties window with an empty Name field.
    Object Properties window
    Violet UML object diagram showing one object named Player.
    Player object
    Go to top
  2. 2. Represent the first player.

    This Player represents Tara, the first player in the modeled game state. Use fields to record the information that matters for this diagram: the player's number and name.

    Step 1 — Add the first field

    Violet Diagram tools panel with the Field tool selected.
    Field tool
    Violet UML object diagram showing Player with a default field displayed as name equals value.
    New field before editing

    Step 2 — Open the field Properties window

    Violet Diagram tools panel with the Select tool selected.
    Select tool
    Violet field Properties window showing the default Name name and Value value next to the Player object.
    Default field properties

    Step 3 — Set the player's number

    Violet field Properties window showing Name Number and Value 1 next to the Player object.
    Number field properties
    Violet UML object diagram showing Player with Number equal to 1.
    Player number

    Step 4 — Add Tara's name

    Violet UML object diagram showing Player with Number equal to 1 and Name equal to Tara.
    First player represented as Tara
    Go to top
  3. 3. Represent the Pawns.

    A class can be used to create multiple object instances. In this game state, Tara has four red Pawn objects. Each Pawn uses the same object type but has its own Number value.

    Step 1 — Create the first Pawn

    Violet UML object diagram showing Player Number 1 named Tara and one Pawn with Number 1 and Color Red.
    First Pawn

    Step 2 — Create the remaining Pawns

    Violet UML object diagram showing Player Number 1 named Tara and four red Pawn objects numbered 1 through 4.
    Four Pawn objects
    Go to top
  4. 4. Connect the Player to the Pawns.

    The four Pawn objects exist, but the model does not yet show that they belong to Tara's Player object. Add four reference fields to Player, then connect each field to the matching Pawn object.

    Step 1 — Add the Pawn reference fields

    Violet UML object diagram showing Player Number 1 named Tara with Pawn1 through Pawn4 fields and four red Pawn objects numbered 1 through 4.
    Pawn reference fields on Player

    Step 2 — Connect Pawn1

    Violet Diagram tools panel with Object reference from field selected.
    Object reference (from field) tool
    Violet UML object diagram showing Player Pawn1 referencing the red Pawn numbered 1 while Pawn2 through Pawn4 remain unconnected.
    First Pawn reference

    Step 3 — Connect the remaining Pawns

    Violet UML object diagram showing Player Number 1 named Tara with Pawn1 through Pawn4 referencing four red Pawn objects numbered 1 through 4.
    Completed Player-to-Pawn references

    Step 4 — Check the completed model

    Go to top
  5. 5. Save, submit, and revise the diagram.

    Save the Violet file, submit it to the Feedback System, and use the returned feedback to correct the diagram before submitting your result to Canvas.

    Step 1 — Save the Violet diagram

    Step 2 — Submit the diagram to the Feedback System

    Step 3 — Resolve any Feedback System errors

    Step 4 — Submit your result to Canvas

    Go to top