In this classic patience game, you are given a deck of 52 standard playing cards, and your task is to move all of them to four foundations at the top right corner by suit from Ace to King.
The game starts with seven tableau columns containing an ascending number of downturned cards from left to right.
One upturned card is dealt to the top of each tableau column, then three upturned cards will be dealt to the discard stack and the remaining downturned cards become the stock, which is placed at the top left corner next to the discard stack.
The four foundations are initially left empty.
Before moving to the foundations, the cards can be placed on the tableau piles.
The topmost card on the discard stack can be dragged to a tableau column if the topmost one on the tableau pile is an alternate color and an immediately higher rank, for example, the 6 of clubs can be dragged to the top of the 7 of diamonds or the 7 of hearts.
The aim of klondike solitaire is to build all four suits up from Ace to King in separate piles at the top right corner.