Navigation:  Tutorials > Beginners Guide to Smalltalk > Programming in Smalltalk > Playing the game >

Emergency checklist

Previous pageReturn to chapter overviewNext page

Check that you have the following methods defined:

Animal class>>initialize
Animal class>>name:
Animal class>>playGame
Animal class>>prompt

Animal>>ask
Animal>>displayOn:
Animal>>name
Animal>>name:
Animal>>printOn:

Question class>> promptToDistinguish:from:
Question class>>text:yes:no:

Question>>ask
Question>>displayOn:
Question>>no
Question>>printOn:
Question>>text
Question>>text:yes:no:
Question>>yes

Also check that you have initialized the game by evaluating:

Animal initialize