Alice Community  

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

Reply
 
Thread Tools Display Modes
Chapter 8, tower of hanoi puzzle
Old
protomonk
Guest
 
Status:
Posts: n/a
Default Chapter 8, tower of hanoi puzzle - 11-28-2005, 08:16 PM

i wrote this program and it work find, but couldn't see why it worked. i ask my teacher, and he couldn't see why it worked eather.


could some1 explain why after the first disk moves anyother disk move(it should just stop). i just need someone to walk to the logic but if my teach can't explain why this recursion is happen, then i deffently can't.

attached is the example, please look.
Attached Files
File Type: a2w chapter8.a2w (251.8 KB, 1582 views)
   
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.