Hi all,
I noticed that some people reported that they think some multi card moves performed
by Freecell Solver are illegal (or asked for help with expanding them.). So in
the spirit of fixing everything in two ways
(see
http://www.joelonsoftware.com/articles/customerservice.html ), I coded an expander
for the multi-card moves. It can be found in the trunk under
the Games-Solitaire-Verify directory or here:
https://metacpan.org/release/SHLOMIF/Games-Solitaire-Verify-0.1100
It accepts as input the output of "fc-solve -p -t -sam -sel" and outputs a compatible
output, only with the multi-card, column, moves expanded into single card moves. Coding
it was time consuming, in part because I thought that Freecell behaved too much like
the Towers of Hanoi, but it seems to work nicely now.
Now the question is how to integrate it with the main fc-solve program for maximum
usability. I can add a notice in STDERR to use it in case that's the problem (which
can be removed using an environment variable), or maybe mention it in USAGE.txt or
README.txt. I'll see.
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Why I Love Perl - http://shlom.in/joy-of-perl
mplayer 0.9.999.2010.03.11-rc5-adc83b19e793491b1c6ea0fd8b46cd9f32e592fc is
now available for download.
— Shlomi Fish and d3x.
Please reply to list if it's a mailing list post - http://shlom.in/reply .
Received on Fri Aug 31 2012 - 12:51:07 IDT