tags:

views:

88

answers:

2

I have been trying to code Towers of Hanoi Game in Visual C# using the windows forms and 5 classes, The classes are called DiskMove.cs, Disk.cs, Board.cs, MainForm.cs (the form), and Program.cs(default class). I have got the Disk class working i think but I can't figure out how to do the other classes. The game must have have 4 Disks with three pegs. I am a beginner programmer and would be grateful for any help.

A: 

I thought this looked like a pretty good resource: http://www.rawkam.com/?p=917

Aaron D
A: 

Complete code of honoi you can use it to build your classes

http://www.kernelthread.com/projects/hanoi//html/cs.html

Rezass