Based on the names/parameters/return types of the methods shown in the diagram and without looking at the code, where is the Word object created that's used in the game (see the diagram for GameController)?
setChanged, but
notifyObservers isn't called until the
addObserver method is called. When is the
Word.addObserver method called from GameController and why are observers
notified?
GameController.playGame is observed by the GameController's
WordDisplay object. When is the word
printed (with letters and blanks shown)?
Gallows.display method is called explicitly when
the game is played in the body of the while loop of
GameController.playgame. Would it be better of the Gallows
class notified an observer that the misses had been updated? What object
would observe the Gallows class and who should call
Gallows.addPart?