Millisecond Online Community

Forums & Feeds
Welcome to Millisecond Online Community Sign in | Join | Help
in Search

Tower of Hanoi

Last post 07-10-2008, 9:41 AM by Dave. 5 replies.
Sort Posts: Previous Next
  •  06-23-2008, 5:04 AM 1688

    Tower of Hanoi

    Dear Sean,
    some fellow researchers are currently shopping for some experiment software and asked me to help them in finding the right product for their planned research. In many aspects, I'd like to recommend them to go with Inquisit. But there's one thing I'm not perfectly sure about. Their studies will have to contain some classic problem-solving tasks, specifically the "Tower of Hanoi" problem. So here's my question: Do you think this task can be implemented with Inquisit 3?

    As always, thanks a lot for your help!
    ~Dave
  •  06-30-2008, 11:32 PM 1708 in reply to 1688

    Re: Tower of Hanoi

    Hi Dave,

    In my opinion, you could implement Tower of Hanoi in Inquisit.
    Without thinking through it in too much detail, I would save the state of the tower in user defined variables. Each trial could read this information to generate the position of the shapes. You could use shapes to represent the tiles on the respective columns. You could use two trials to select a tile to be moved. I think this would work.

    With the version 3 programming features, I have found that you can do a wide range of things. The resulting code is not always the prettiest, but it works.

    Cheers,

    Jeromy

  •  07-01-2008, 3:38 AM 1709 in reply to 1708

    Re: Tower of Hanoi

    Hi Jeromy,

    thanks very much for your take on this. I also suspect, that it could be done using userdefined variables and a whole lot of expressions. The problem is: I'm not 100% sure and I don't have the extra time right now to program it just for the fun of it (as I said, it's not relevant to any of my research projects). So, if any others who have done similarly complex tasks in Inquisit 3 want to chime in and give their opinion, I'd be happy to hear it!

    ~Dave
  •  07-01-2008, 8:39 AM 1710 in reply to 1709

    Re: Tower of Hanoi

    I also think it can be done, though I can't say that with 100% certainty. I'm not sure what your timeframe is, but if I can find some free time in the next few days, I might take a crack at it.  

    I can think of a few different approaches. The most straightforward one would be create the pieces as stimuli, and use position and size properties to evaluate whether a given move is fair.  

    -Sean

  •  07-02-2008, 7:44 AM 1712 in reply to 1710

    Re: Tower of Hanoi

    Thanks for your expert opinion, Sean! The timeframe is rather loose, i.e. it's not very urgent (as far as I know). Of course, I'd love to see your approach - so if you can indeed spare the time to give it a shot, I'd be your biggest fan!

    ~Dave
  •  07-10-2008, 9:41 AM 1720 in reply to 1712

    Re: Tower of Hanoi

    Dear all,

    does anyone have any more insights regarding this topic? I'll be happy about every opinion and suggestion posted!

    Sincerely,
    ~Dave
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems