Tower of Hanoy (Solitaire)

Tower of Hanoy is a solitaire game which is played using 9 cards only. The game is based on actual Tower of Hanoi game which requies discs to be moved from one tower to another tower using an intermediate tower without disturbing the order of the discs. The aim of the game is to built down a pile of cards from nine to ace. Player is dealt nine cards into three piles, 3 cards in each pile. The rule to move cards between piles are: Pile can only be built down by rank. An empty pile can be filled by any card from the other two piles. The game is won when all cards are moved to same pile in sequence from nine to ace.