FreeCell

Last updated
FreeCell
A patience game
Freecell KPatience Oxygen White.png
A game of Freecell on KDE
Named variant Baker's Game
FamilyFreecell
DeckSingle 52-card
See also Glossary of patience terms

FreeCell is a solitaire card game played using the standard 52-card deck. It is fundamentally different from most solitaire games in that very few deals are unsolvable, [1] and all cards are dealt face-up from the very beginning of the game. [2] Although software implementations vary, most versions label the hands with a number (derived from the seed value used by the random number generator to shuffle the cards). [2]

Contents

Microsoft has included a FreeCell computer game with every release of the Windows operating system since 1995, greatly contributing to the game's popularity among users of personal computers, even leading to the creation of several websites devoted to FreeCell. [3] Microsoft FreeCell is so definitive for many FreeCell players that many other software implementations implement compatibility with its random number generator in order to replicate its numbered hands. [2] [4]

Rules

One standard 52-card deck is used. There are four open cells and four open foundations. Some alternative rules use between one and ten cells. Cards are dealt face-up into eight cascades, four of which comprise seven cards each and four of which comprise six cards each. Some alternate rules use from four to ten cascades.

The top card of each cascade begins a sequence. Tableaus must be built down by alternating colors. Foundations are built up by suit. The Foundations typically begin with Ace and are built up to King.

Any cell card or top card of any cascade may be moved to build on a tableau, or moved to an empty cell, an empty cascade, or its foundation. Complete or partial tableaus may be moved to build on existing tableaus, or moved to empty cascades, by recursively placing and removing cards through intermediate locations. Computer implementations often show this motion, but players using physical decks typically move the tableau at once. The maximum number of cards in a tableau that can be moved to another tableau equals the number of empty cells plus one, with that number doubling for each empty cascade: , where is the number of empty cascades and is the number of empty cells. [5] The maximum number that can be moved to an empty cascade is . [5]

The game is won after all cards are moved to their foundation piles. It is estimated that 99.999% of possible deals are solvable. [2] Deal number 11982 from the Windows version of FreeCell is an example of an unsolvable FreeCell deal, the only deal among the original "Microsoft 32,000" which is unsolvable. [2]

History and variants

One of the oldest ancestors of FreeCell is Eight Off. In the June 1968 edition of Scientific American , Martin Gardner described in his "Mathematical Games" column a game by C. L. Baker that is similar to FreeCell, except that cards on the tableau are built by suit rather than by alternate colors. Gardner wrote, "The game was taught to Baker by his father, who in turn learned it from an Englishman during the 1920s." [6] This variant is now called Baker's Game. FreeCell's origins may date back even further to 1945 and to a Scandinavian game called Napoleon in St. Helena (not the solitaire game Napoleon at St Helena, also known as Forty Thieves). [2]

Paul Alfille changed Baker's Game by making cards build according to alternate colors, thus creating FreeCell. He implemented the first computerised version as a medical student at the University of Illinois, in the TUTOR programming language for the PLATO educational computer system in 1978. [7] Alfille was able to display easily recognizable graphical images of playing cards on the 512 × 512 monochrome display on the PLATO systems. [8]

This original FreeCell environment allowed games with 4–10 columns and 1–10 cells in addition to the standard 8 × 4 game. For each variant, the program stored a ranked list of the players with the longest winning streaks. There was also a tournament system that allowed people to compete to win difficult hand-picked deals. Paul Alfille described this early FreeCell environment in more detail in an interview from 2000. [9]

In 2012, researchers used evolutionary computation methods to create winning FreeCell players. [10]

A variant where card sequence movement is not limited by available cells is known as Relaxed FreeCell. [2]

Other solitaire games related to or inspired by FreeCell include Seahaven Towers, Penguin, Stalactites, ForeCell, Antares (a cross with Scorpion).

Solver complexity

The FreeCell game has a constant number of cards. This implies that in constant time, a person or computer could list all of the possible moves from a given start configuration and discover a winning set of moves or, assuming the game cannot be solved, the lack thereof. To perform an interesting complexity analysis one must construct a generalized version of the FreeCell game with 4 × n cards. This generalized version of the game is NP-complete; [11] it is unlikely that any algorithm more efficient than a brute-force search exists that can find solutions for arbitrary generalized FreeCell configurations.

There are 52! (i.e., 52 factorial), or approximately 8×1067, distinct deals. However, some games are effectively identical to others because suits assigned to cards are arbitrary or columns can be swapped. After taking these factors into account, there are approximately 1.75×1064 distinct games. [2]

Related Research Articles

<span class="mw-page-title-main">Glossary of patience terms</span> List of terms used in the card games known as patiences or solitaires

Games of patience, or (card) solitaires as they are usually called in North America, have their own 'language' of specialised terms such as "building down", "packing", "foundations", "talon" and "tableau". Once learnt they are helpful in describing, succinctly and accurately, how the games are played. Patience games are usually for a single player, although a small number have been designed for two and, in rare cases, three or even four players. They are games of skill or chance or a combination of the two. There are three classes of patience grouped by object.

<span class="mw-page-title-main">Klondike (solitaire)</span> Solitaire card game

Klondike, also known as Canfield, is a card game for one player and the best known and most popular version of the patience or solitaire family, as well as one of the most challenging in widespread play. It has spawned numerous variants including Batsford, Easthaven, King Albert, Thumb and Pouch, Somerset or Usk and Whitehead, as well as the American variants of the games, Agnes and Westcliff. The distinguishing feature of all variants is a triangular layout of the tableau, building in ascending sequence and packing in descending order.

<span class="mw-page-title-main">Baker's Game</span> Patience or solitaire card game

Baker's Game is a patience or solitaire card game similar to FreeCell. It predates FreeCell, and differs from it only in the fact that sequences are built by suit, instead of by alternate color. This makes the game more difficult to complete successfully.

<span class="mw-page-title-main">Spider (solitaire)</span> Type of patience game

Spider is a type of patience game, and is one of the more popular two-deck solitaire games. The game originates in 1949, and its name comes from a spider's eight legs, referencing the eight foundation piles that must be filled to win the game.

<span class="mw-page-title-main">Simple Simon (solitaire)</span>

Simple Simon is a patience or solitaire card game played with a regular 52 cards deck. It is a close relative of the well-known Spider Solitaire. It became somewhat popular being featured in some computerized collections of Solitaire card games, but its origins possibly predate its implementation as a computerized game.

Eight Off is a patience or solitaire card game, named after its employment of eight cells, played with one deck of playing cards. The object of the game is to move all the cards into the foundations. It served as a partial inspiration for and is very similar to the popular solitaire game FreeCell.

<span class="mw-page-title-main">Napoleon at St Helena</span> Card game

Napoleon at St Helena is a 2-deck patience or solitaire card game for one player. It is quite difficult to win, and luck-of-the-draw is a significant factor. The emperor Napoleon often played patience during his final exile to the island of St Helena, and this is said to be the version he probably played. Along with its variants, it is one of the most popular two-deck patiences or solitaires. The winning chances have been estimated as 1 in 10 games, with success typically dependent on the player's ability to clear one or more columns. The game is the progenitor of a large family of similar games, mostly with variations designed to make it easier to get out.

Stalactites is a solitaire card game which uses a deck of 52 playing cards. The game is similar to Freecell, but differs in the way that cards are built onto the foundations and packed on the tableau. It has just two cells, and most games are winnable with good play.

<span class="mw-page-title-main">Baker's Dozen (card game)</span> Solitaire card game

Baker's Dozen is a patience or card solitaire using a single pack of fifty-two playing cards. The game is so called because of the 13 columns in the game, the number in a baker's dozen.

Beleaguered Castle is a patience or solitaire card game played with a deck of 52 playing cards. It is sometimes described as "Freecell without cells" because its game play is somewhat akin to the popular solitaire computer game of that name but without extra empty spaces to maneuver. Beleaguered Castle is also called Laying Siege and Sham Battle.

Queen of Italy is a patience or card solitaire game played with two packs of playing cards. It is a very strategic game that rewards careful planning, since the cards that potentially block the game are presented at the start, and with care it can be completed about half the number of attempts.

<span class="mw-page-title-main">Kings in the Corner</span> Multi-player solitaire-style card game

Kings in the Corner, or King's Corners is a multi-player patience or solitaire-style card game for two to four players using a standard 52-card pack, the aim being to be first to shed all one's hand cards.

Penguin is a patience or solitaire card game, invented by David Parlett, which uses a deck of 52 playing cards. The game play is similar to solitaire card games like the popular Freecell and its predecessor Eight Off.

Westcliff is the name of two closely related patience or card solitaire games of the simple packer type, both of which are played using a deck of 52 playing cards. One version is particularly easy to win, with odds of 9 in 10; the other is harder with odds closer to 1 in 4. The game has a variant, Easthaven.

<span class="mw-page-title-main">Miss Milligan</span> Patience game

Miss Milligan is a patience game which is played using two decks of playing cards, and is one of the most popular of the double-deck games. According to Peter Arnold, author of Card Games for One, this classic game's enduring popularity is in part due to its amazing tendency to enable complete recovery from seemingly hopeless positions. Winning chances with good play are about 1 in 20 games.

<span class="mw-page-title-main">Four Seasons (card game)</span> Solitaire game

Four Seasons is a patience or card solitaire which is played with a single deck of playing cards. It is also known as Corner Card and Vanishing Cross, due to the arrangement of the foundations and the tableau respectively. Another alternate name is Cross Currents.

<span class="mw-page-title-main">Microsoft Solitaire</span> Card game that is included in Microsoft Windows

Solitaire is a computer game included with Microsoft Windows, based on a card game of the same name, also known as Klondike. Its original version was programmed by Wes Cherry, and the cards were designed by Susan Kare.

Seahaven Towers is a patience or solitaire card game that uses a deck of 52 playing cards, and is closely related to the popular solitaire game FreeCell. Good players can expect to win more than three-quarters of their games by clever card manipulation.

<span class="mw-page-title-main">Microsoft FreeCell</span> Video game included in Microsoft Windows

FreeCell, also known as Microsoft FreeCell, is a computer game included in Microsoft Windows, based on a card game with the same name.

Pharaoh's Grave is a gallery style free cell based game played with 104 playing cards. It arranges the foundations as pyramid and when successfully finished, the Pharaoh, symbolized by the King of Hearts, is on the center bottom and the aces build the pyramid.

References

  1. Leonhard, Woody (2009). Windows 7 All-in-One for Dummies. John Wiley & Sons. p. 293. ISBN   9780470487631.
  2. 1 2 3 4 5 6 7 8 Keller, Michael (August 4, 2015). "FreeCell -- Frequently Asked Questions (FAQ)". Solitaire Laboratory. Retrieved February 7, 2017.
  3. Glenn, Jim and Denton, Carey. The Treasury of Family Games (page 105). Reader's Digest, 2003 ( ISBN   9780762104314)
  4. "PySol - Rules for Freecell". PySolFC documentation. Retrieved 3 February 2018.
  5. 1 2 "solitaire - FreeCell: How many cards can be moved at once?". Board & Card Games Stack Exchange.
  6. Gardner, Martin (June 1968). "Mathematical Games". Scientific American. 218 (6): 114. Bibcode:1968SciAm.218f.112G. doi:10.1038/scientificamerican0668-112.
  7. Mark J. P. Wolf Before the Crash: Early Video Game History 2012 p212 "After Spacewar!, several more games appeared on the PLATO system, including DECWAR (1974, based on “Star Trek”), Empire (1974), a Dungeons & Dragons–inspired game named "dnd" released in 1979, Moria (1975), the original Freecell (1978), and a flight simulator named Airfight..."
  8. Kaye, Ellen (October 17, 2002). "One Down, 31,999 to Go: Surrendering to a Solitary Obsession". New York Times.
  9. Cronin, Dennis (May 4, 2000). "Interview with Paul Alfille". Freecell.net. Retrieved March 4, 2011.
  10. Elyasaf, Achiya; Hauptman, Ami; Sipper, Moshe (December 2012). "Evolutionary Design of FreeCell Solvers" (PDF). IEEE Transactions on Computational Intelligence and AI in Games. 4 (4): 270–281. doi:10.1109/TCIAIG.2012.2210423. S2CID   801608. Archived (PDF) from the original on 2015-10-20.
  11. Helmert, Malte (March 2003). "Complexity results for standard benchmark domains in planning". Artificial Intelligence. 143 (2): 219–262. doi:10.1016/S0004-3702(02)00364-8.

Additional sources

See also