Question
Using Alice 2.4 Create a simple game where the gorillaRobot (Animals) wants to play with the other animals. If the player clicks on an animal,
Using Alice 2.4 Create a simple game where the gorillaRobot (Animals) wants to play with the other animals. If the player clicks on an animal, the gorillaRobot turns to face that animal and begins to move towards it. However, the gorillaRobot is only allowed to move a random distance that is in the range of 0.5 meters and half the distance to the animal. If the gorillaRobot gets close enough (within 2 meters) to the animal, then the animal disappears slowly. Once the gorillaRobot has made all of the animals disappear, it turns towards the camera and asks, Where did everybody go? To create this world, use the sand template and the add the desert sky (Environments - Skies). Add the penguin (Animals), triceratops (Animals - Dinosaurs), and a dragon (Fantasy). Create a method for the gorillaRobot named goToAnimal with an object parameter named who. Also, create a World-level method named checkIfAllAreGone.
IIIIIIIIIIVVVStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started