Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
FreeCell
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== 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 {{nowrap|4 Γ ''n''}} cards. This generalized version of the game is [[NP-complete]];<ref>{{cite journal |title=Complexity results for standard benchmark domains in planning |journal=Artificial Intelligence |first=Malte |last=Helmert |date=March 2003 |volume=143 |issue=2 |pages=219β262 |doi=10.1016/S0004-3702(02)00364-8|doi-access= }}</ref> 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{{X10^|67}}, distinct deals. However, some games are effectively [[isomorphism|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{{X10^|64}} distinct games.<ref name="FCFAQ" />
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)