CSC 112 Lab 08
due:  Monday, February 22 by 10:00 a.m.

For each of the following exercises, create a storyboard. When storyboard is approved, translate the storyboard to a program. Include at least one comment in your program.

Demo the world to the instructor.

Activity 1: Cheshire Cat. Storyboard: _______   Demo:_______

Consider the Cheshire cat from the Alice in Wonderland books. Sometimes the cat would disappear, leaving only his grin. At other times, the cat would reappear.

Create this world, where the cat (except for his smile) disappears when something happens, then reappears when the something else happens. YOU decide what the trigger is.

Upload your finished world to WebCT.

Example of Activity 1

Demo the world to the instructor.

Activity 2. Compass Rotation.  Storyboard: _______   Demo:_______

Create world with a compass (Objects). Create four class-level methods -- leftOne, rightOne, leftRevolution, rightRevolution -- that turns the dial 1 number left, 1 number right, 1 revolution left, and 1 revolution right, respectively. The compass should have no ground present in the world.

HINT:  One position on the dial is actually 1/40 of a revolution. Use the endGently style to make the motion more realistic.

When done, upload the project to Blackboard.

Example of Activity 2


Print out this sheet and have the instructor initial each task as you have completed it.
Do NOT lose the sheets as it is your only proof that you have completed these in-class Labs.

Dann, Cooper, Pausch: Learning to Program with Alice