Alice Community  

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

Reply
 
Thread Tools Display Modes
Help my homework
Old
kaijencheng
Guest
 
Status:
Posts: n/a
Default Help my homework - 01-27-2008, 07:26 PM

Hello~I don't know how to do this homework. programming projects. 3.5

Write a hop() method that makes bunny hop in a realistic fashion, which a parameter that lets the sender of the message specify how far the animal should hop. USing your hop() method, have your animal hop around a buliding in four hops.

So far, I just know how to use bunny hops once by hop() method.
And, to hop is easy but i don't know how to hop around the building and how to use parameter to do it. @@
Does anyone can help me?
   
Reply With Quote
Old
DickBaldwin
Guest
 
Status:
Posts: n/a
Default 01-27-2008, 07:57 PM

Quote:
Originally Posted by kaijencheng View Post
Hello~I don't know how to do this homework. programming projects. 3.5

Write a hop() method that makes bunny hop in a realistic fashion, which a parameter that lets the sender of the message specify how far the animal should hop. USing your hop() method, have your animal hop around a buliding in four hops.

So far, I just know how to use bunny hops once by hop() method.
And, to hop is easy but i don't know how to hop around the building and how to use parameter to do it. @@
Does anyone can help me?
You may find some information at http://www.dickbaldwin.com/tocalice.htm that will help you with your homework. Let me know if you don't understand what you find there and I will see if I can help you to understand it.

Dick Baldwin
Free Alice tutorials: http://www.dickbaldwin.com/tocalice.htm
Free programming tutorials: http://www.dickbaldwin.com/toc.htm

Last edited by DickBaldwin; 01-27-2008 at 07:59 PM. Reason: grammar correction
   
Reply With Quote
Reply

Thread Tools
Display Modes

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 ©2021, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.