Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Need all the help I can get with this: (http://www.alice.org/community/showthread.php?t=8275)

mashood 03-29-2012 09:44 AM

Need all the help I can get with this:
 
Create a game where the gorillaRobot wants to play with the other objects in the world. There must be at least 2 animals, 2 rolling objects (like a ball or tire) and 2 stationary objects (like a house).
Your gorillaRobot and your animals should have a realistic movement method. This method should include a parameter that makes sure the movement of the subparts (ie legs, arms, etc) occur the correct number of times in relation to the total distance.

The rules of the game are as follows:
When an object is clicked on, the gorillaRobot walks over to the object to interact with it.
If an object is stationary (ie, not an animal or one of the rolling objects), the gorillaRobot should check to see if the object is bigger or smaller than the gorillaRobot. If the object is bigger, the gorillaRobot turns and moves several meters away. If the object is smaller, the gorillaRobot turns to the camera and says “I’m bigger!”
If an object is a round object, the gorillaRobot should push it and it should roll several meters away.
If the object is an animal, whichever animal is smaller turns and moves several meters away.

-There should be one event that handles all the objects that can be clicked on.
-Methods must be appropriately class or world level.
-Your program must include at least one if/else or conditional statement and at least one event.
-You must include comments in your program for full credit.
-Your file should be labeled “your name assignment 7.a2w��
Submit your program through the link below.

dakota95 03-30-2012 08:55 AM

What are you having trouble with? It all sounds pretty basic.

mashood 04-03-2012 08:34 AM

Still confused
 
1 Attachment(s)
I'm actually confused about the whole project. I know I need a Gorilla, 2 animals, 2 rolling objects and 2 stationary objects.

My methods can be: gorilla.Walk, tiger.Walk, tortoise.Walk

I also know I need event handling methods.

I'm just confused on how to put it all together.

It's my first time doing Alice and I'm not much experienced and I really need to get a good score on this project so I can raise my grade in the class.

PS. check attachment, this is what I've done so far.


All times are GMT -5. The time now is 09:13 PM.

Copyright ©2020, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.