Alice Homework for Thursday,
November 3, 2005

Everyone:
Download Alice
from www.alice.org  (Alice.zip)

Extract all
the files

Install Alice (i.e. Run setup.exe)

Once
it’s installed run either Alice.exe or SlowAndSteadyAlice.exe

NOTE: I e-mailed Wanda Dann (one of the book’s authors) to ask about the
difference between Alice.exe and SlowandSteadyAlice
and she said:  “Alice.exe
is the commonly used version of Alice.
The SlowAndSteadyAlice.exe is for older machines or laptops that have limited
RAM and/or slow graphics capabilities.”

Go through
tutorial #1

Tutorial #2 appears to work fine (in spite of my warning
in class)

my Tutorial #3 got stuck at step 44

Create a World according to one of
the following scenarios (or create your own) and bring it to class on a CD or
your flash drive (it won’t fit on a floppy) on Thursday.  Note, if you create your own,  make a text
story board first, put that on the disk and bring that to class too.

Choice 1.

Download FirstEncounter.txt from https://users.cs.jmu.edu/adamses/public

Rename it FirstEncounter.a2w

Now you can open it from Alice  (here’s
its storyboard)

Do
the following steps in order

alien
moves up

alien says
“slithy toves?”

robot’s head turns around

robot turns to look t alien

Do
together

robot mores toward the alien

robot legs walk

alien
moves down

robot
turns to look at the camera

robot’s
head turns read (to signal danger)robot says “Houston, we have a problem!”

Choice 2:  Download Alice+wolf.txt from https://users.cs.jmu.edu/adamses/public

Rename it Alice+wolf.a2w

1.      Run Alice.

2.     Open the Alice+Wolf world

Add the following features to the Alice+Wolf
world

1.
Make the Mad Scientist turn and face Alice

2.
Make the scientist walk toward Alice (you will need to use a loop)

3.
Make Alice
wave her left arm

4.
Have the wolf face the tree

5.
Have Alice
move to the Scientist

6.
Write a method called "approach" to have
the Scientist take 3 steps toward Alice and Alice move backwards 2
meters.

7.
Create an event so that when the 'A' key is pressed,
the approach method is activated.

8.
Write a method for Alice called 'react'

a.
if Alice
is within 3 meters of the wolf she should say "Yikes"

b.
otherwise she should turn to face the wolf and move
forward 2 meters

9.
Create an event so that when the 'R' key is pressed,
Alice's react
method is run.

Choice 3 The
Dragon and the Mummy

Create the world as follows

Choose the
Dirt world from the selection of possible worlds.

From the
Medieval gallery, add a Dragon into your world.

From the
Medieval gallery, add a Tower into your world not too close to the
Dragon.

From the
Building gallery, add many Fence sections and arrange them to surround
the Dragon.

From the Egypt
gallery, add a Mummy on top of the tower.

Add the following actions to your world

Make the
mummy say some thing to the dragon

Have the
dragon move its head and flap its wings at the same time

Hint: Write a dragon method called flap to do the wing flapping

Make the
mummy say something else to the dragon

Have the
dragon fly to the top of the tower.

Hint: Write a fly dragon fly method that uses the flap method developed
earlier.

Have the
mummy climb on top of the dragon's back

Have the
dragon fly away with the mummy on board

You can use the dragon's fly method developed
earlier.

Put the
above sequence in a method call run and have run activated
when the 'R' key is hit.

Create an
event 'D' that places the camera on the Dragon's head.

Create an
event 'M' that places the camera on the Mummy's head.

Choice 4:

Create a world
where Mana (People) has a magnet (Objects) held out
in her hand.  Add five metallic
objects (Objects folder in Local, or Web gallery) of your choice to the world
and one by one have Mana point the magnet at each
object.

As Mana points the magnet toward an object, have the object
move to the magnet.  Have the last
object be very large (perhaps a car from the Vehicles folder) so when Mana points at it, she instead is pulled toward the object
while saying something like “Who!” or “Yikes!”.

Choice 5:

Make up your own
story board and animation!

ENJOY YOURSELVES AND BE CREATIVE