The Towers of Hanoi is a logic game. If you aren't familiar with this game set the number of disks to 3 or 4 and click the 'Solve It' button to see how it works. The 4 disk game takes 15 moves to solve (at least that's the best I can do).
The object of the game is to move all of the disks from one post to another. You can only put a disk on a larger disk. For example: you start by moving the smallest disk to either the left or right post. Now move the next smaller disk, which is now the top disk on the middle post, to the empty post. Now take the smallest disk and put it on top of the one you just moved. Next move the new top disk on the center post to the empty post and then move the 2 smaller disks to that same post. Now you have an empty post for the new top disk on the center post. Keep going until all disks are on a new post. Good Luck!