Fortune-teller
Most of us enjoy a good circus, carnival, or county fair. There's fun, food, and fortunes. Aah, yes, what would a fair be without the fortune-teller's tent? By the end of the chapter, you'll know everything you need to spin your fortunes and amaze your friends with your wisdom.
Before we start the first exercise, create a new project and add two sprites. The first sprite will be the seeker. The second sprite will be the teller. Choose any sprites you want. My seeker will be a clam and my teller will be a snowman. If you want to add a background, go ahead.
Time for action – create a list of questions
In order to have a successful fortune-telling, we need two things: a question and an answer. Let's start by defining some questions and answers:
Select the seeker from the list of sprites.
From the Variables palette, click the Make a list button.
In the list name dialog box, type questions and select For this sprite only.
Click OK to create the list. Several new blocks display in the...