Adventures in

Alice Programming

Duke University, Durham, NC

Alice Programming Header Graphic

Princess/Knight Exercise

Write an Alice world with the following story.

Start: There is a princess and a knight facing each other, approximately 10 meters apart. The camera is looking at them seeing their profiles. The knight is holding a sword in his hand.

The Story: The Knight watches the princess as she does the following. The princess curtsies, then jumps up and does a forward flip and lands back in the same spot. Next, the princess watches the knight do the following. The Knight bows and then jumps up and shake his sword and then lands in the same spot. The camera moves back to the original position. The princess moves over to the knights spot, and as she is moving over, when she is halfway to his spot, the knight jumps over her and lands in her original spot. The princess continues to the knights original position. So they are now again about 10 meters apart. They both turn to the camera and the princess curtseys and the knight bows at the same time. THE END.

List ideas on what you would do to implement this story.