CompSci 94 Spring 2018: Assignment #5

Due: Thursday, March 22 - 11:59pm

15 points

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 program by yourself. You may receive help from the Professor, UTA's or TA.

The Problem

The purpose of this assignment is for you to create an interactive animation of your choice.

First you should complete the tutorial called "A Simple Quiz" so you can learn how to ask interactive questions. This world is not to turn in, but to learn how to interactively prompt a question and create a response based on the answer.

The animation must include the following features:

  1. Must have at least six events and event handlers.

  2. Must prompt the user with at least two questions and handle the responses differently depending on the answer to the questions. (See the extra handout called "A Simple Quiz".)

  3. Must describe in Alice how to interact with the animation. You could put instructions on a billboard, make instructions with 3D text, or have the character say the instructions. There needs to be a way to get the instructions again if you need them. Make sure there is a way to get them back (an event). Also make sure there is time to read them.

  4. Must include one event whose event handler randomly changes something at least four different ways. (this is like how the fish moved around randomly three different ways in classwork on March 6). The event could call a procedure that uses a random number or the random number could be defined directly in the event. This can be one of your 6 events.

  5. The presentation must be nice. 20% of the grade is on presentation and comments in code. BE SURE TO PUT COMMENTS IN YOUR CODE.

  6. Turn in your world using websubmit on the Assignment page on the CompSci 94 webpages, and create an html page to show at least two screenshots of your Alice world and your storyboard. . You will submit the URL for this in the Reflect form.

Part 1:

Write an EVENT storyboard. You should have at least four scenes (and no more than 10) with a picture (sketch), list of objects and a written description of what happens in the scene. Note that an event storyboard includes scenes on events to describe what happens when that event is invoked.

This story board should appear on your web page that describes this world.

Part 2:

Implement your design and create an Alice world. Be sure your animation has all the requirements listed above. Be sure to include comments in your code.

TURN IN

  1. Turn in your Alice world using websubmit on the assignment page on the CompSci 94 web pages.

  2. Create an html page that has at least two snapshots of your world, a description of what happens in the world and your storyboard. Link to this html page from your CompSci 94 page. We will look for it on your web page.

  3. Fill out the Reflect form which will include links to your webpages.