Here's the answer to the Programming in Smalltalk quiz.

Animal class>>playGame
	"Start a new game using the existing knowledge base held in the
	KnowledgeBase class variable"

	MessageBox notify: 'Think of an animal and I will try to guess what it is.
Are you ready?' caption: 'The Animal Game' .
	KnowledgeBase ask

 

Press the Back button on your browser to return to the chapter.