Alice Community  

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

Reply
 
Thread Tools Display Modes
Recursion Project 8-2, Skeleton Reversal
Old
neil04
Guest
 
Status:
Posts: n/a
Default Recursion Project 8-2, Skeleton Reversal - 07-21-2009, 12:51 PM

I am working on an Extra Credit assignment for class, but i am having a bit of difficulty. The project is supposed to occur similar to the Towers of Hanoi Puzzle. I understand how the tower of Hanoi puzzle works, but cant think of the code that will make the skeletons change order.

Has anyone done project 8-2 of Learning to Program with Alice Second Edition?

Can you give me any tips on how to accomplish the code for this particular project.

I understand how the move it command worked for the Towers of Hanoi Puzzle. I do not understand how the world.towers method worked in order to incorporate the move it method. Any help would be great.
   
Reply With Quote
Old
SuzukiGil
Junior Member
 
Status: Offline
Posts: 1
Join Date: Nov 2011
Location: Riverside
Default 11-28-2011, 11:32 AM

bump as i also need help on this
   
Reply With Quote
Old
viennaseo
Junior Member
 
Status: Offline
Posts: 2
Join Date: Nov 2011
Location: Vienna
Default 11-28-2011, 01:02 PM

Hi Suzuki,

I assume you've read the PDF notes (Page 371):

http://oz.plymouth.edu/~wjt/Foundati...ce/Alice08.pdf

You can check out this example of recursion
http://www.alice.org/community/showt...=1677#post1677

If you did that and it didn't help, try reading wikipedia "recursion" it explains the idea really well
   
Reply With Quote
Skeleton Reversal Problem Solution Code here
Old
Zdog628
Junior Member
 
Status: Offline
Posts: 4
Join Date: Mar 2012
Default Skeleton Reversal Problem Solution Code here - 06-04-2012, 11:12 AM

The MoveIt method took the most time...
AZ
Attached Files
File Type: a2w Reversal.a2w (4.54 MB, 101 views)
   
Reply With Quote
Old
Brettlee
Junior Member
 
Status: Offline
Posts: 14
Join Date: May 2013
Location: New York
Default 06-03-2013, 06:39 AM

Well thanks for these links... All these have helped me understanding confusing questions.. When I would have more queries then I would post here...
   
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 ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.