On Friday 27 March 2009 23:19:10 Gary Campbell wrote:
> I guess this is "demo" enough for anyone who
> wants to track it down.
What do you mean?
> I was disappointed by
> the way the solution was presented, and I have
> to confess, I couldn't follow it.
I used a similar way of displaying the list of intermediate states since
Freecell Solver's inception. That was before I learned of the standard
notation. One advantage is, is that you can more easily continue a solution if
you've lost track of it.
Anyway, fc-solve can output only states or only moves or even only moves in
standards notation. For example:
{{{{{{{{{{{{{{{{{{
$ pi-make-microsoft-freecell-board -t 10916159 | fc-solve -l gi -snx -m
-=-=-=-=-=-=-=-=-=-=-=-
2a 6b 62 3c 3d b3 d7 1b 14 b1
6d 6b 63 61 53 85 c6 86 8c 84
8h 1h ch 1c 1h 7h c4 8c b8 c8
67 1b 1c 17 c8 6c 38 b6 1b 83
c1 71 51 6c b6 26 2b 24 23 25
26 2h 1h b2 52 5b 53 b5 d5 17
4b 4h 1d a1 31 38 18 1a c1 41
48 54 18 1c a1 45 4a 4h d4 45
1d c1 7c 7h 75 81 8h 84 57 5h
5h 48 4h 4h 45 b4 18 5b 5h a1
4a d4 5d b5 75 7h 1h 7b 7h bh
72 7h 31v3 3b 43 d7 b4 54 35v2 3d
c3 72 d7 3b 3h 51 81 8h 7h 8h
8h 6h 8h 6h 8h 6h ah 42 bh 1h
1h 2h 1h 2h 1h 2h 1h 2h 1h 2h
1h 2h 1h 2h 1h 2h 1h 2h
This game is solveable.
Total number of states checked is 573975.
This scan generated 389007 states.
}}}}}}}}}}}}}}}}}
Note that FCS does not take into consideration the MS-Freecell/FC-Pro auto-
moves (like moving relevant cards to the foundation). So these moves are
explicit in the solution. This caused problems when integrating FCS into FC-
Pro back then, and I had to write this code to translate the solutions:
http://svn.berlios.de/viewcvs/fc-solve/trunk/ext-ifaces/FC-Pro/
It may still work, but who knows.
> Somehow, I
> didn't get the original posting of message/889.
Interesting. I got it fine, and as you saw - so did YahooGroups. Maybe the
.zip attachment confused your end.
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
The Case for File Swapping - http://xrl.us/bjn7i
God gave us two eyes and ten fingers so we will type five times as much as we
read.
Received on Mon Mar 30 2009 - 08:58:53 IDT