The aim of Klondike Solitaire is to build all four suits up from ace to king using a standard 52-card deck.
Player is first dealt 28 cards into seven piles, in the following manner:
The first pile (left to right) includes one card, the second pile includes two cards, the third pile includes three cards, etc., so that the last pile has seven cards. This array is known as the tableau.
The top card on each pile is turned face up, so that there are 7 face-up cards.
The remaining cards are set aside, forming a draw pile.
As they become available, the four aces must be played above the tableau; these are the four foundations. Cards of the same suit may be played on each ace in ascending order, from low (2) to high (king).
Once a card is played on a foundation, it can't be removed.
On the tableau, cards are played in descending order, alternating colors.
Anytime a card is moved from one pile of the tableau to another, face-down top card from the tableau is turned face up.
An empty tableau can only be filled with a King and can then be played in descending order.
When the player gets stuck he can click on the draw file. This will deal 3 cards at a time onto the waste pile. The player may move the top card from the waste pile into the tableau or to the foundations to continue. When the draw pile is out of cards, the player can reset the draw pile and continue.
The cards in the draw pile are always drawn 3 at a time or whatever are left if it is less than 3.