FreeCell explained

FreeCell
Subtitle:A patience game
Named Variant:Baker's Game
Deck:Single 52-card
Family:Freecell
Footnotes: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 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).

Microsoft has included a FreeCell computer game with every release of the Windows operating system since 1995. This greatly contributed to the game's popularity among users of personal computers and even led to the creation of several websites devoted to FreeCell.[3] Microsoft FreeCell is so definitive for FreeCell players that many other software implementations include compatibility with its random number generator in order to replicate its numbered hands.[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

Max

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:

Max=2M x (N+1)

, where

M

is the number of empty cascades and

N

is the number of empty cells.[5] The maximum number that can be moved to an empty cascade is

Max/2

.[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. 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.

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 which 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).

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 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 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.

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 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 which can find solutions for arbitrary generalized FreeCell configurations.

There are 52! (i.e., 52 factorial), or approximately 8, 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 distinct games.

Additional sources

See also

Notes and References

  1. Book: Leonhard, Woody . Windows 7 All-in-One for Dummies . John Wiley & Sons . 293 . 2009 . 9780470487631.
  2. Web site: FreeCell -- Frequently Asked Questions (FAQ) . Solitaire Laboratory . Keller . Michael . August 4, 2015 . February 7, 2017.
  3. Glenn, Jim and Denton, Carey. The Treasury of Family Games (page 105). Reader's Digest, 2003
  4. Web site: PySol - Rules for Freecell . PySolFC documentation . 3 February 2018.
  5. Web site: solitaire - FreeCell: How many cards can be moved at once? . Board & Card Games Stack Exchange.
  6. Mathematical Games . Scientific American . Martin . Gardner . June 1968 . 218 . 6 . 114 . 10.1038/scientificamerican0668-112. 1968SciAm.218f.112G .
  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. News: One Down, 31,999 to Go: Surrendering to a Solitary Obsession . New York Times . Kaye . Ellen . October 17, 2002.
  9. Web site: Interview with Paul Alfille . Freecell.net . Dennis . Cronin . May 4, 2000 . March 4, 2011.
  10. Evolutionary Design of FreeCell Solvers . https://web.archive.org/web/20151020115006/http://www.genetic-programming.org/hc2013/Sipper-Paper.pdf . 2015-10-20 . live . IEEE Transactions on Computational Intelligence and AI in Games . Achiya . Elyasaf . Ami . Hauptman . Moshe . Sipper . 4 . 4 . 270–281 . December 2012 . 10.1109/TCIAIG.2012.2210423. 801608 .
  11. Complexity results for standard benchmark domains in planning . Artificial Intelligence . Malte . Helmert . March 2003 . 143 . 2 . 219–262 . 10.1016/S0004-3702(02)00364-8.