Monday, April 23, 2018

Faery Magic - ALICE Program


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
      
     

Solution: 
The user clicks the object and Faery moves towards it to make it disappear.
See the attached video created using Alice 2.3 for this program

This video is exported from Alice 2.3 from the actual source code of this program.

Contact me @ allassignmenthelp@gmail.com for the comprehensive step-by-step guide on how to create this game in ALICE as well as the final source code. I can modify the program if you would need any changes.