Thursday, December 17, 2009

The Towers Of Hanoi 3D



An update of The Towers Of Hanoi, this time in full 3D. Requires Windows with .NET Framework 3.5.


I updated this yet again on 12/19 to include collision detection during the drag and drop part, and to include the source, if developers would like to review it. It should be fairly instructive for some.


(Note: I used Charles Petzold's libraries to generate the disks and pegs, and I didn't include his source code, but it's available for download on Mr. Petzold's site, at http://www.charlespetzold.com/3d.)

Wednesday, December 9, 2009

The Towers Of Hanoi

I'm still trying to recover from my father's passing. If this kind of thing has never happened to you, be warned that it isn't going to be easy.

I've been brushing up on my coding skills to help pass the time and get my mind off things, and I've made a version of the old Towers of Hanoi puzzle using Microsoft's Windows Presentation Foundation libraries. I'm linking to a copy of it here at the bottom of this post so you can try it out, and let me know if you see any bugs (break it to me gently). Be aware that the sample requires at least .NET Framework 3.5, and I haven't provided any of the .NET support files, so the compatibility of your system is up to you.

Towers of Hanoi