Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 src if solving for Win7 and solution will work in XP, April 21, 2013
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 Makefile
Octocat-spinner-32 pom.xml


A solver for Freecell written in Java

Please use the following options:

java [ -d64 -Xmx6g ] -jar fcsolver.jar --gameno <1-1000000> [ --maxnodes <2000-200000> ] [ --winxp ]

-d64 is 64bit;
-Xmx6g is 6G heapsize;
--winxp solves specifically for Windows XP (but also works in Vista, 7);
    ( default is --nowinxp (may not work in XP) )
--maxnodes 2000 is default
    ; 20000 needs -d64 -Xmx4g
    ; 200000 needs -d64 -Xmx14g

For example:

java -jar fcsolver.jar --gameno 4003

java -d64 -Xmx4g -jar fcsolver.jar --gameno 4003 --maxnodes 20000

java -d64 -Xmx14g -jar fcsolver.jar --gameno 4003 --maxnodes 200000 --winxp

Note. This is a straight-forward conversion of my Perl program Freecell-App-0.03 on the CPAN ( ). The Java version runs 70 times faster than the Perl one!

Something went wrong with that request. Please try again.