Towers of hanoi animation help

Started by Slenderbro, July 10, 2013, 11:16:36 AM

Previous topic - Next topic

Slenderbro

I have everything i need like the function (2^n)-1, but i suck at animating. I have the pegs and the rings, but i want a click-drag script to move the rings.

Keep it to java/c++
I have allegro if you are using c++, but i'd rather not use that piece of crap library.

Please and thx.

prayos

I never animated it. I'm a programmer. I don't deal with that. :D Secondly, I'd like to see the final results. We had to write a hanoi program in college to learn about stacks and queues. Fun times.