CSSE 220 – Object-Oriented Software Development

Homework 14

Objectives

Practice with designing and implementing classes. Learn the UMLet tool for drawing UML class diagrams.

Tasks

  1. Complete the assigned reading for the next session: Big Java §9.1–9.5.
  2. Complete the assessment exercises over this reading on ANGEL (under Lessons → Assignments).
  3. Pair Programming: Complete the Game of Life program that you do with your partner.
  4. Individual Programming: Complete the Static project that you began in class, as follows:
  5. You should have completed the following in class, nothing to turn in for this item for homework:

    1. Using CRC cards, develop a design for a program that lets two players play chess against each other.
      • Assume that the players enter moves in the (single, shared) console, but that the board is displayed in a window.
      • You will do this in groups of 3 or so, who share a single set of about 10 index cards.
    2. Convert your CRC cards to a UML class diagram. Show the relationships between the classes, but you need not show the details (attributes and operations) for each class.
      • Each individual should draw their own diagram.

  6. Install UMLet: Download and install the UMLet program for drawing UML diagrams by following these instructions.
  7. CRC card and UML class diagram exercise : Use UMLet to draw a UML class diagram for our CRC cards for Chess.

Turn-in Instructions

Turn in your programming work by committing it to your SVN repository for this project. Bring your written work to class.