I've been playing Baker's Game in Sol Free on the iPhone. I recently
found fc-solve and was amazed by the comprehensive approach to finding
solutions. Wow! Nice work.
I'll attempt to map "Sol Free / iPhone" version of Baker's Game rules
to fc-solve command-line options...
* building downwards on stacks must be done according to suit
--sequences-are-built-by suit
* moving a sequence (say 9H, 8H, 7H) requires available vacant
freecells or empty stacks
--sequence-move limited
Here's the board I'm trying to solve:
3D 3S 5C 9H QH 5D JD
JS KD 3H 6C 7H 7S 4S
5S 6D 6H 2C 4H 8D AC
JC 2H QD KC KS 2S 3C
JH KH AH 7D QS 8H
AD 2D TS 4C 8S 5H
TH TC 9C 6S TD AS
7C 9S 4D 9D QC 8C
Command line:
fc-solve \
--display-states-and-moves \
--sequence-move limited \
--sequences-are-built-by suit \
board
I'm using fc-solve that came with the freecell-solver-bin package
version 2.8.10-1 on Ubuntu 8.10.
One of the moves in the solution is...
====================
Move 4 cards from stack 1 to stack 5
6D 4D KS H-0 C-4 D-0 S-2
--- --- --- ---
-- -- -- -- -- -- -- --
3D JS 6H JC JH AD 10H
3S KD 5H 2H KH 2D 10C
5C 3H 4H QD AH 10S 9C
9H 6C KC 7D 9S 8C
QH 7H QC QS 8S 7C
5D 8H 7S
JD 6S
10D 5S
9D 4S
8D
====================
1. But, given the rules above, this is an illegal move. Only two
vacant spaces are available: 1 freecell and 1 empty stack. Any idea
what's going on here?
2. Usage question: if I use "--game bakers_game
--sequences-are-built-by suit --sequence-move limited", will the
second and third command line parameters override whatever is
specified by "--game bakers_game"?
3. What is the default game type? I'm guessing Freecell, but I
couldn't find this documented anywhere.
4. Is there a chart detailing all the default command line options or
which settings are specified when you pick a game type?
Thanks!
--
Adam Monsen
Received on Mon Jan 19 2009 - 12:39:55 IST