| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Assignment - Events - Troll vs Toys

Page history last edited by Steve Sweeney 13 years, 12 months ago

Initial Scene:

 

A troll sitting in the middle of a room with 3 different child’s toys on the floor around the troll.

 

Problem:

 

Write a program so that when the user clicks on a toy, the troll moves to the toy, points his/her club

at the toy and the toy disappears. The troll then returns to his/her original position in the room

and waits until the user clicks on the next toy.

 

Assessment:

 

Level 1 - create initial scene, toy(s) disappear when the world starts (no clicking by user)

Level 2 - multiple or single event handler, some errors

Level 3 - toy clicked on disappears when the user clicks on it - multiple event handlers - correct implementation

Level 4 - toy clicked on disappears when the user clicks on it - single event handler

 

Animation and overall presentation quality will determine adjustments to your grade level.

Comments (0)

You don't have permission to comment on this page.