Session Twenty
I began the day by handing back HW#4 and talking about a number of issues:
First issues of "grading"
- Questions 4 and 5 were separate issues and required separate diagrams
- Arrows, arrowhead sharp, and direction, all matter in
navigability/multiplicity diagrams
- Don't use silly local variables (variables declared, assigned, and then
immediately returned as in getExits for some people in Room)
Second, issues of discussion/learning
- How is it that the Rooms created in Game's constructor are saved?
- We talked earlier about communication paths. Notice the fact that
Game doesn't know of the existence of CommandWords but only knows of the
Parser...
- Use of static in CommandWords
- Don't be afraid to learn things not clearly in an assignment (code
duplication in getExitsString)
Finally, I walked you through HW#5