My WKR solvers produce solutions that don't have the Horne and WKR
automoves listed. This is because I use a single automove routine to
resolve both types of automoves. Anyone trying to use the following
solution would need a FreeCell player that performs Horne and WKR
automoves as well.
#00006240 Attempt: 1 NumFcs=4 (WKR Super) 33 moves
21. 3a. 3b. 3c. 3d. 32. 82. d3. 32_ c3.
5c. 53. 5d. 56. a5. 85. 65_ 8a. 8h. d8.
78. ch. 42. 4c. 4d. 45. 6a. 67. 41. 27_
28. 14_ 12.
~~~~~
However, since almost (if not) all FreeCell players only use Horne
automoves, I need to convert the above solution into one where the WKR
automoves are explicitly listed. Here's where the order and manner of
processing these two automoves needs to be considered. A sample pseudo-C
code:
/* in a loop reading the above solution */
read_and_perform_a_move(); /* the move is listed as well */
do Horne(); /* multiple Horne automoves are performed here
*/
while ( WKR_single() ); /* only one WKR automove is performed and
listed
for the smallest card that it can move */
This way, a mix of Horne and WKR automoves can be performed properly.
Here is the diagnostic output from my WKR convert program. It also lists
the Horne automoves.
(a): move sequence number
(b): move in daj-extended standard notation
(c): highest-valued card being moved, a multi-card move has a (+)
(d): target card, ec = empty column, fc = freecell
(a) (b) (c) (d)
--- --- --- --- sort: (a)
1 21. 3H 4C
___ 7h. AH *H Horne automove
2 3a. KD fc
3 3b. KH fc
4 3c. 8C fc
5 3d. 8H fc
6 32. JS QH
___ 3h. AS *S Horne automove
7 82. TD JS
8 d3. 8H 9C
9 32_ 9C+ TD
10 c3. 8C ec
11 5c. 5S fc
12 53. 7D 8C
13 5d. KC fc
___ 5h. AC *C Horne automove
___ 5h. 2S AS Horne automove
14 56. TS JD
15 a5. KD ec
16 85. QC KD
___ 8h. 2H AH Horne automove
___ 1h. 3H 2H WKR automove
17 65_ JD+ QC
18 8a. 3C fc
19 8h. 3S 2S
___ 8h. AD *D Horne automove
___ 4h. 2D AD Horne automove
20 d8. KC ec
21 78. QD KC
___ 7h. 4S 3S WKR automove
22 ch. 5S 4S
23 42. 7C 8H
24 4c. 5C fc
25 4d. 7S fc
26 45. 9D TS
___ 4h. 2C AC Horne automove
___ ah. 3C 2C Horne automove
___ 7h. 4H 3H Horne automove
___ 1h. 4C 3C WKR automove
27 6a. 9S fc
28 67. 5D 6S
___ 6h. 5H 4H Horne automove
___ 6h. 3D 2D Horne automove
___ 1h. 4D 3D Horne automove
___ 7h. 5D 4D Horne automove
___ ch. 5C 4C Horne automove
___ 7h. 6S 5S Horne automove
___ dh. 7S 6S WKR automove
29 41. 9H TC
30 27_ QH+ KS
___ 2h. 6H 5H Horne automove
___ 2h. 6D 5D Horne automove
___ 3h. 7D 6D WKR automove
31 28. JC QD
___ 2h. 7H 6H WKR automove
32 14_ TC+ ec
___ 1h. 6C 5C Horne automove
___ 7h. 7C 6C Horne automove
___ 3h. 8C 7C Horne automove
___ 7h. 8H 7H Horne automove
___ 7h. 9C 8C WKR automove
___ 4h. 9H 8H WKR automove
33 12. JH QS
___ 1h. 8D 7D Horne automove
___ 1h. 8S 7S Horne automove
___ 5h. 9D 8D Horne automove
___ ah. 9S 8S Horne automove
___ 4h. TC 9C Horne automove
___ 5h. TS 9S Horne automove
___ 6h. TH 9H Horne automove
___ 7h. TD 9D Horne automove
___ 8h. JC TC Horne automove
___ 2h. JH TH Horne automove
___ 5h. JD TD Horne automove
___ 7h. JS TS Horne automove
___ 8h. QD JD Horne automove
___ 2h. QS JS Horne automove
___ 5h. QC JC Horne automove
___ 7h. QH JH Horne automove
___ 8h. KC QC Horne automove
___ bh. KH QH Horne automove
___ 5h. KD QD Horne automove
___ 7h. KS QS Horne automove
~~~~~
And here is the updated solution returned by my WKR convert program. The
moves apply to any FreeCell player using Horne automoves.
#00006240 Attempt: 2 NumFcs=4 (Hrn Super) 41 moves
21. 3a. 3b. 3c. 3d. 32. 82. d3. 32_ c3.
5c. 53. 5d. 56. a5. 85. 1h. 65_ 8a. 8h.
d8. 78. 7h. ch. 42. 4c. 4d. 45. 1h. 6a.
67. dh. 41. 27_ 3h. 28. 2h. 14_ 7h. 4h.
12.
~~~~~
Now, for my point -- which everone probably already knows!!! If a solver
performs and lists WKR automoves, then the solver needs to follow the
pseudo-C code that I listed above.
Regards, Danny
Received on Sat Dec 08 2012 - 12:09:38 IST