Hi all,
I'm forwarding an E-mail message that Gary (Campbell) sent me (from a private
discussion) about using his FCELL.COM solver from the command-line. You may
find it of use.
Regards,
Shlomi Fish
---------- Forwarded Message ----------
Subject: Re: Using FCELL
Date: Sunday 07 February 2010, 23:55:51
From: "Gary Campbell" <gary_at_numin8r.us>
To: "Shlomi Fish" <shlomif_at_iglu.org.il>
>> Shlomi,
>> Are you invoking FCELL directly from a command window, or via "Run FCELL"
>> from the GUI interface?
>
> Directly via the command-line.
>
Well, I've never run from a command line in Linux, but if it is similar to the
Windows
command-line, here are the FCELL options:
1. FCELL n (to solve a single game; n= 0...2**33-1; n=-1, -2, and
-3 are also
OK).
2. FCELL n-m (to solve a series of games; n<m)
3. FCELL txt (to input a text file -- 2 different formats are valid).
Output from FCELL goes to STDOUT, which can be directed into a file using
>file
at the end of the command line (at least it can in a DOS Window).
I've attached a text file that you can use as a boilerplate example. It shows
the
layout 2 moves into game# 1796. I hope it is self explanatory.
The other utility, NUM.COM, could be invoked as NUM 000-999 >tmp.txt
to write out a file that could be used as input to FCELL (FCELL tmp.txt).
Try it. The file given to FCELL can either be a layout or a list of specific
games.
>> If you run the Autoplayer and hit F1 you get the
>> full Help File inside a browser. Now, click on "Laboratory" and it skips
>> down inside the file to a sequence of 5 "experiments" that lead you
>> through all the FCELL capabilities. Experiment #5 requires you to advance
>> into a Command Window, but after going through experiments 1-4, you have
>> pretty much seen all of what FCELL can do. It is easier for most purposes
>> to run FCELL from within the Autoplayer's FCELL window than to create your
>> own Command Window, but it's up to you
>
> I'm not interested in running it through the GUI (see below).
>
Will the Autoplayer not run at all under Linux? If not, that's too bad,
because
it really is a very good FreeCell player. Don't you have access to Windows
XP?
Again, I hope this makes sense. Unfortunately, I don't have access to Linux,
so
I can only test things on Windows XP.
-Gary
<
-----------------------------------------
--Boundary-00=_KS98Nuzafp9bCGW
Content-Type: text/plain;
format=flowed;
name="in.txt";
reply-type=original
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="in.txt"
7S 8H 5H 7D TH AH 8D 2D AD AS
KD 6H 2H 2S 5S 9H QC QH KS QS
7C 4C 9S 3C 6S KH AC 2C
8C 3D 4S JD 9C TS 5D
5C 7H 6C JC 4D JH 3S
TD KC 6D 9D 8S 3H QD
4H TC JS
--Boundary-00=_KS98Nuzafp9bCGW--
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
My Public Domain Photos - http://www.flickr.com/photos/shlomif/
Only wimps complain about bad code. Real men clean it up.
Please reply to list if it's a mailing list post - http://shlom.in/reply .
- application/x-ygp-stripped attachment: stored
Received on Fri Jun 17 2011 - 14:28:32 IDT