Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Recursion Project 8-2, Skeleton Reversal (http://www.alice.org/community/showthread.php?t=2900)

neil04 07-21-2009 12:51 PM

Recursion Project 8-2, Skeleton Reversal
 
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.

SuzukiGil 11-28-2011 11:32 AM

bump as i also need help on this

viennaseo 11-28-2011 01:02 PM

Hi Suzuki,

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

[url]http://oz.plymouth.edu/~wjt/Foundations/Alice/Alice08.pdf[/url]

You can check out this example of recursion
[url]http://www.alice.org/community/showthread.php?p=1677#post1677[/url]

If you did that and it didn't help, try reading wikipedia "recursion" it explains the idea really well

Zdog628 06-04-2012 11:12 AM

Skeleton Reversal Problem Solution Code here
 
1 Attachment(s)
The MoveIt method took the most time...
AZ

Brettlee 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...


All times are GMT -5. The time now is 01:04 AM.

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