Freecell (Solitaire)

FreeCell is a solitaire-based card game played with a 52-card standard deck. The aim of FreeCell Solitaire is to build all four suits up from ace to king. Player is dealt all 52 cards into eight piles, in the following manner:

Four piles contain seven cards and remaining four contain six cards each.

There are four cells and four foundations. Four cells can be used anytime to place one card if it is empty. Cells can not have more than one card.

Foundations are built up by suit whereas tableaus are build down by alternating colors. Once a card is played on a foundation, it can't be removed.

Any cell card or top card of any of the eight tableaus can be moved to another tableau, or moved to an empty cell, an empty tableau, or a foundation. Complete or partial tableaus can also be moved to build on existing tableaus, or moved to empty tableau.

The game is won after all cards are moved to their foundation piles.