0.2 Parcheesi Assignment

  1. Create a new diagram.

    Instructional image from 0.2 Parcheesi Assignment, page 1

    New Object Diagram

    Go to top
  2. Represent the GameBoard

    We need a way to represent what a Parcheesi game board entails. Specifically, we need to
    represent a game where there are two players and we have a potential to win $100.

    Instructional image from 0.2 Parcheesi Assignment, page 2

    Object Tool

    Instructional image from 0.2 Parcheesi Assignment, page 2

    Properties Window

    We will be covering classes more in-depth in PCA. For now, just know that classes
    are blueprints, much like a new house isn't built until a blueprint is made.

    Instructional image from 0.2 Parcheesi Assignment, page 2

    Class Name

    Go to top
  3. Represent a Piece belonging to the GameBoard

    Instructional image from 0.2 Parcheesi Assignment, page 3

    Field Tool

    Instructional image from 0.2 Parcheesi Assignment, page 3

    Add Field

    Instructional image from 0.2 Parcheesi Assignment, page 3

    Select Tool

    Instructional image from 0.2 Parcheesi Assignment, page 3

    Edit Field

    Instructional image from 0.2 Parcheesi Assignment, page 4

    Rename Field

    Instructional image from 0.2 Parcheesi Assignment, page 4

    Piece Object

    Instructional image from 0.2 Parcheesi Assignment, page 4

    Object Reference Tool

    Instructional image from 0.2 Parcheesi Assignment, page 5

    Field Reference

    In English this would read as: "The GameBoard object has a Player1Piece1 of type Piece
    and the Piece object has a Color with the value of Red."

    Go to top
  4. Give the board 4 pieces for a single player.

    Instructional image from 0.2 Parcheesi Assignment, page 5

    Add 3 Pieces

    Instructional image from 0.2 Parcheesi Assignment, page 6

    Add 3 Piece Objects

    Instructional image from 0.2 Parcheesi Assignment, page 7

    Connect Fields to Objects

    We now have a single GameBoard object with 4 fields that reference 4 different Piece
    objects. In other words, the game board has 4 red game pieces on the board.

    Go to top
  5. Add another player to the board.

    Instructional image from 0.2 Parcheesi Assignment, page 8

    Player 2 Fields

    Instructional image from 0.2 Parcheesi Assignment, page 9

    Player 2 Piece Objects

    Instructional image from 0.2 Parcheesi Assignment, page 11

    Player 2 Field References

    Go to top
  6. Give the GameBoard some money to win.

    Instructional image from 0.2 Parcheesi Assignment, page 12

    Winnings Field

    This object diagram now represents a GameBoard that has 8 total pieces (4 Red and 4
    Blue) and $100.00 worth of winnings.

    Go to top
  7. Submit the diagram to the Feedback System.

    Parcheesi 0.2 LastName.object.violet.html
    Instructional image from 0.2 Parcheesi Assignment, page 13

    Zip File

    Please bookmark this page!

    Instructional image from 0.2 Parcheesi Assignment, page 14

    Feedback System

    Instructional image from 0.2 Parcheesi Assignment, page 14

    Upload Assignment

    Instructional image from 0.2 Parcheesi Assignment, page 15

    Copy URL

    Instructional image from 0.2 Parcheesi Assignment, page 15

    Submit URL

    If you are getting a large amount of errors or errors you don't understand please
    reach out to in the course Slack channel for assistance or contact your instructor.

    Instructional image from 0.2 Parcheesi Assignment, page 15

    Success Message

    Go to top