Automated Fortune Teller Hints

A list is the natural choice to use in storing the answer options you will need to access in your modeling of the toy.
list{Outlook uncertain, Probably yes, No way, It is certain, Not likely, Reply hazy, Maybe, Without a doubt}

Under the "Variables" block menu, Snap! provides some very handy blocks to store data in a list, together with some blocks that allow you to access and modify the stored data.
List blocks: list(), () in front of (), item(1) of (), all but first of (), length of (), () contains (thing), add (thing) to (), delete (1) of (), insert (thing) at (1) of (), replace item (1) of () with (thing)

You can then use item(random) of () to randomly select an answer stored in the list.

  1. Discuss with your partner the sequence of events that should take place and write code to execute this sequence. The following blocks may be helpful.
    when green flag clicked, when I am (clicked), repeat(){}, wait() secs, switch to costume(BlankMagicBall), next costume, say() for () secs, play sound(Cha_Ching), item(random) of (), list()()()()