0.2 Parcheesi Assignment [50 minutes]

Parcheesi Assessment
1.Create a new object diagram [15 minutes]

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.

A Open a new object diagram
1 Open Violet UML Diagramming Tool
2 Choose File | New | Static view | Object diagram
Violet UML Editor File menu showing New, Static view, Object diagram.
Create a new Violet object diagram
B Create the Player object
1 Select the Object tool and click the workspace
Violet Diagram tools panel with the Object tool selected.
Object tool
2 Double-click the new object node to open its Properties window
Violet object Properties window with an empty Name field.
Object Properties window
3 Set the object Name to Player, then click OK
Violet UML object diagram showing one object named Player.
Player object
2.Represent the first player [10 minutes]
A Add the first field
1 Select the Field tool in the Diagram tools menu
Violet Diagram tools panel with the Field tool selected.
Field tool
2 Click the Player object to add a field
Violet UML object diagram showing Player with a default field displayed as name equals value.
New field before editing
B Open the field Properties window
1 Select the Select tool
Violet Diagram tools panel with the Select tool selected.
Select tool
2 Double-click the new field to open its Properties window
Violet field Properties window showing the default Name name and Value value next to the Player object.
Default field properties
C Set the player's number
1 Change the field Name to Number
2 Change the field Value to 1
Violet field Properties window showing Name Number and Value 1 next to the Player object.
Number field properties
3 Click OK and confirm that Player now shows Number = 1
Violet UML object diagram showing Player with Number equal to 1.
Player number
D Add Tara's name
1 Add a second field to Player
2 Set the field Name to Name
3 Set the field Value to Tara, then click OK
Violet UML object diagram showing Player with Number equal to 1 and Name equal to Tara.
First player represented as Tara
3.Represent the Pawns [10 minutes]
A Create the first Pawn
1 Use the Object tool to add another object node
2 Double-click the object and set its Name to Pawn
3 Add a field named Number and set its Value to 1
4 Add a field named Color and set its Value to Red
Violet UML object diagram showing Player Number 1 named Tara and one Pawn with Number 1 and Color Red.
First Pawn
B Create the remaining Pawns
1 Create three additional Pawn objects
2 Set every Pawn Color to Red
3 Set the Pawn Number values to 2, 3, and 4 so the four Pawns are numbered 1 through 4
Violet UML object diagram showing Player Number 1 named Tara and four red Pawn objects numbered 1 through 4.
Four Pawn objects
4.Connect the Player to the Pawns [10 minutes]
A Add the Pawn reference fields
1 Add four fields to Player named Pawn1, Pawn2, Pawn3, and Pawn4
2 Leave the field values available for object-reference connections rather than typing Pawn data into the 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
B Connect Pawn1
1 Select the Object reference (from field) tool
Violet Diagram tools panel with Object reference from field selected.
Object reference (from field) tool
2 Drag from the value area of Player.Pawn1 to the Pawn whose Number is 1, then release
Violet UML object diagram showing Player Pawn1 referencing the red Pawn numbered 1 while Pawn2 through Pawn4 remain unconnected.
First Pawn reference
C Connect the remaining Pawns
1 Connect Player.Pawn2 to the Pawn numbered 2
2 Connect Player.Pawn3 to the Pawn numbered 3
3 Connect Player.Pawn4 to the Pawn numbered 4
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
D Check the completed model
1 Confirm Player shows Number = 1 and Name = Tara
2 Confirm there are four Pawn objects, all with Color = Red and Number values 1 through 4
3 Confirm Pawn1, Pawn2, Pawn3, and Pawn4 each reference the Pawn with the matching Number
5.Save, submit, and revise the diagram [5 minutes]

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.

A Save the Violet diagram
1 Choose File | Save in Violet
2 Use the base filename Parcheesi 0.2 LastName
3 Confirm the saved file ends with .object.violet.html
B Submit the diagram to the Feedback System
1 ZIP the .object.violet.html file itself. Do not place it inside another folder before zipping
2 Use the ZIP filename Parcheesi 0.2 LastName.object.violet.html.zip
3 Submit the ZIP file to the Feedback System
C Resolve any Feedback System errors
1 If feedback identifies an error, reopen the Violet file and correct the diagram
2 Save the corrected file, ZIP it again, and resubmit it
3 Repeat the correction cycle until the required feedback is resolved
D Submit your result to Canvas
1 Submit the resulting Feedback System URL to Canvas as directed by your course