CompSci 4 Fall 2008: Assignment #3

PART 1 Due: Tuesday, Sep 16 - beginning of class
PART 2 Due: Thursday, Sep 18 - 11:59pm

20 points

The purpose of this assignment is for you to create two Alice worlds, one an animation of your choice, using both design and implementation, and using concepts you've learned from Chapter 2.

This is individual work.

You may talk to other students in the course about your design and for ideas, but you are to write the complete Alice programs by yourself. You may receive help from the Professor, UTA's or TA.

These parts must be done in order! (Part 1 first, then Part 2).

Problem 1

You are to create a storyboard and an Alice world for this problem, and create an html page that describes the story with at least two pictures from the world. Name your world in the format: netid-asg3-magnet.a2w where netid is your Duke Netid. For example, if your netid is abc2, then name your world abc2-asg3-magnet.a2w. Don't put blanks in the name!

Objects: Add into the world the mad scientist (from the People folder), a magnet (from the Objects folder), four small magnetic objects such as an alarm clock in the Objects folder and one large magnetic object such as a car.

Setup: Place the magnet in the scientist's hand and place the other objects in a circle around the scientist.

Story: For each small object, the scientist will turn and face the object and have his arm point the magnet at the object and the object will come to and attach to the magnet. You can have the item then either stick to the magnet or drop and fall to the ground. Then the scientist will turn and face the large object and say something (like "yikes") and slowly be drawn to the large item.

Problem 2

You are to create a storyboard, and an Alice world of your choice that must have the following requirements (see below), and an html page describing your world with at least two pictures of your world. Name your world with your Duke login id followed by a dash and asg3. For example, if your login is abc24 then your world would be named abc24-asg3.a2w.

  1. You must have at least 4 objects.
  2. The objects must interact with each other in the following ways. There must be at least one occurence of each of the following between some pair of objects.
  3. One object should say something.
  4. You should use 3D text.
  5. You must use the DoTogether and Do In Order blocks, including some nesting of these blocks.
  6. You should have at least three camera views and change between them.
  7. Your animation should be different than the animations we have done in class.

Part 1: Due Sep. 16 in class

Turn in storyboards for both problems 1 and 2. You should have at least four scenes (and no more than 10) with a picture (sketch), a list of objects and a written description (underneath scenes) of what happens in the scene. This is due at the beginning of class!

Part 2: Due Sep. 18, 11:59pm

Implement your design and create an Alice world for both problems 1 and 2. Be sure your animations have all the requirements listed above.

This part will be turned in two ways.

  1. Turn in the Alice .a2w files on blackboard under assignments. Create a text file named README that has your name, how long you worked on the assignment, names of anyone you received help from, and whether you created your Alice world on a Mac or PC. Place both of the alice worlds and the README file in a folder named assign3-loginid where loginid is your duke login id. (for example, someone named Angel Barbara Carson might have a duke login id of abc13). Don't place any other files in this folder. You will need to create a .zip file of the folder containing the two worlds and the text file, then turn in the .zip file.

  2. FOR BOTH PROBLEMS: Create an html page that has at least two pictures of the world and a description of what happens in the world.

  3. Link to both html pages from your CompSci 4 page. We will look for it on your web page. You must remember to link to both html pages or we will not be able to find them and give you credit.