Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Need all the help I can get with this:
Old
mashood
Junior Member
 
Status: Offline
Posts: 2
Join Date: Feb 2012
Post Need all the help I can get with this: - 03-29-2012, 09:44 AM

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.
   
Reply With Quote
Old
dakota95
Senior Member
 
dakota95's Avatar
 
Status: Offline
Posts: 426
Join Date: Aug 2011
Location: like I would tell you. ;)
Default 03-30-2012, 08:55 AM

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


<Insert_Signature_Here>
   
Reply With Quote
Still confused
Old
mashood
Junior Member
 
Status: Offline
Posts: 2
Join Date: Feb 2012
Default Still confused - 04-03-2012, 08:34 AM

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.
Attached Files
File Type: a2w gorillaRobot.a2w (2.06 MB, 84 views)
   
Reply With Quote
Reply

Tags
alice, community, help needed, homework help


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



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