Find Us On: Facebook Twitter Rss Feed Blog
Need To Register? Sign Up Login

Alice Chapter 8 Recursion


Faery Magic Create a world that have at least 5 different objects from the Furniture Gallery and a Faery from the Fantasy/Faeries Gallery. The Faery has the power to make an object disappeared. Everything that the faery touches disappears from the scene. Create an interactive game where the user clicks one object at a time from the scene; then, the faery faces that object and moves in direction to it. Write a recursive method named CheckDistance, that checks whether the faery is very close to the object clicked by the user. If it is, the faery bends over to touch the object. After the faery touches the object, the object disappears (this is the base case of the recursion). If the faery is not yet close enough to the object to be able to touch it, the faery moves a small distance forward and the CheckDistance method is recursively called (this is the recursive case of the recursion). Also Create instructions for the game Attachments
Tags Clarifications


Faery Recursion Program


Instructions for the game:
1. click on blue dresser
2. click on couch
3. click on desk
4. click on armchair
5. click on bigTable
Attachments Screenshots
Purchase Answer