| @@ -0,0 +1,31 @@ | ||
| -=-=-=-=-=-=-=-=-=-=-=- | ||
|
|
||
| H-0 C-0 D-0 S-0 | ||
| --- --- --- | ||
|
|
||
|
|
||
| -- -- -- -- -- -- -- -- | ||
| JD 2D 9H JC 5D 7H 7C 5H | ||
| KD KC 9S 5S AD QC KH 3H | ||
| 2S KS 9D QD JS AS AH 3C | ||
| 4C 5C 10S QH 4H AC 4D 7S | ||
| 3S 10D 4S 10H 8H 2C JH 7D | ||
| 6D 8S 8D QS 6C 3D 8C 10C | ||
| 6S 9C 2H 6H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| 6H H-0 C-0 D-0 S-0 | ||
| --- --- --- | ||
|
|
||
|
|
||
| -- -- -- -- -- -- -- -- | ||
| JD 2D 9H JC 5D 7H 7C 5H | ||
| KD KC 9S 5S AD QC KH 3H | ||
| 2S KS 9D QD JS AS AH 3C | ||
| 4C 5C 10S QH 4H AC 4D 7S | ||
| 3S 10D 4S 10H 8H 2C JH 7D | ||
| 6D 8S 8D QS 6C 3D 8C 10C | ||
| 6S 9C 2H | ||
|
|
| @@ -1,2 +1,8 @@ | ||
| 3.all_in_a_row.board | ||
| 3.all_in_a_row.sol | ||
| 4.golf-wrap-ranks.sol | ||
| 4.golf.board | ||
| 5.golf.board | ||
| 5.golf.sol | ||
| 6.black_hole.board | ||
| 6.black_hole.sol |
| @@ -0,0 +1,356 @@ | ||
| Solved! | ||
| Move a card from stack 1 to the foundations | ||
|
|
||
| Info: Card moved is 4C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 3 to the foundations | ||
|
|
||
| Info: Card moved is 3C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is 7H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 0 to the foundations | ||
|
|
||
| Info: Card moved is 8D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 6 to the foundations | ||
|
|
||
| Info: Card moved is 7C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 6 to the foundations | ||
|
|
||
| Info: Card moved is 8H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 3 to the foundations | ||
|
|
||
| Info: Card moved is 9S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 5 to the foundations | ||
|
|
||
| Info: Card moved is TH | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is 2H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 5 to the foundations | ||
|
|
||
| Info: Card moved is AS | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 0 to the foundations | ||
|
|
||
| Info: Card moved is 2S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is JH | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 4 to the foundations | ||
|
|
||
| Info: Card moved is TC | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is TD | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is JC | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 3 to the foundations | ||
|
|
||
| Info: Card moved is TS | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is QD | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 3 to the foundations | ||
|
|
||
| Info: Card moved is KH | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 1 to the foundations | ||
|
|
||
| Info: Card moved is QH | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 3 to the foundations | ||
|
|
||
| Info: Card moved is JS | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is KC | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is 2D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is 8S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is 6H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 4 to the foundations | ||
|
|
||
| Info: Card moved is 5S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 6 to the foundations | ||
|
|
||
| Info: Card moved is 4H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 2 to the foundations | ||
|
|
||
| Info: Card moved is 5H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 0 to the foundations | ||
|
|
||
| Info: Card moved is 6C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 2 to the foundations | ||
|
|
||
| Info: Card moved is 7S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 2 to the foundations | ||
|
|
||
| Info: Card moved is 6D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 1 to the foundations | ||
|
|
||
| Info: Card moved is 5C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 5 to the foundations | ||
|
|
||
| Info: Card moved is 4D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 0 to the foundations | ||
|
|
||
| Info: Card moved is 3S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 1 to the foundations | ||
|
|
||
| Info: Card moved is 2C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 5 to the foundations | ||
|
|
||
| Info: Card moved is AH | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 5 to the foundations | ||
|
|
||
| Info: Card moved is KD | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 4 to the foundations | ||
|
|
||
| Info: Card moved is QS | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 0 to the foundations | ||
|
|
||
| Info: Card moved is KS | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 2 to the foundations | ||
|
|
||
| Info: Card moved is AC | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is 9H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 4 to the foundations | ||
|
|
||
| Info: Card moved is 8C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 6 to the foundations | ||
|
|
||
| Info: Card moved is 9D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is JD | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 1 to the foundations | ||
|
|
||
| Info: Card moved is QC | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is 9C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is 7D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 6 to the foundations | ||
|
|
||
| Info: Card moved is 6S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 4 to the foundations | ||
|
|
||
| Info: Card moved is 5D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is 4S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 2 to the foundations | ||
|
|
||
| Info: Card moved is 3D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
|
|
||
|
|
||
| -------------------- | ||
| Total number of states checked is 1742. | ||
| This scan generated 1794 states. |
| @@ -0,0 +1,9 @@ | ||
| Talon: 7H 2H JH TD JC QD KC 2D 8S 6H 9H JD 9C 7D 4S AD | ||
| Foundations: 3H | ||
| KS 3S 6C 2S 8D | ||
| QC 2C 5C QH 4C | ||
| 3D AC 6D 7S 5H | ||
| JS KH TS 9S 3C | ||
| 5D 8C QS 5S TC | ||
| KD AH 4D AS TH | ||
| 6S 9D 4H 8H 7C |
| @@ -0,0 +1,9 @@ | ||
| Talon: KS QD 4H AC 2H TC TH 6D 6H 6C QC JS 9S AD 7C TS | ||
| Foundations: 9D | ||
| AH 3D 3C 5H 8H | ||
| 8S 5C 4S 6S JH | ||
| 2D AS 3S 8D JC | ||
| QS 9C 5D TD 7D | ||
| 4C KH KC 7S 5S | ||
| 9H 4D 3H JD QH | ||
| 2S 2C KD 7H 8C |
| @@ -0,0 +1,349 @@ | ||
| Solved! | ||
| Move a card from stack 6 to the foundations | ||
|
|
||
| Info: Card moved is 8C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 6 to the foundations | ||
|
|
||
| Info: Card moved is 7H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 0 to the foundations | ||
|
|
||
| Info: Card moved is 8H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 3 to the foundations | ||
|
|
||
| Info: Card moved is 7D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is KS | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is QD | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 6 to the foundations | ||
|
|
||
| Info: Card moved is KD | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is 4H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 4 to the foundations | ||
|
|
||
| Info: Card moved is 5S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is AC | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is 2H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is TC | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 2 to the foundations | ||
|
|
||
| Info: Card moved is JC | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 5 to the foundations | ||
|
|
||
| Info: Card moved is QH | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 5 to the foundations | ||
|
|
||
| Info: Card moved is JD | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 3 to the foundations | ||
|
|
||
| Info: Card moved is TD | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 1 to the foundations | ||
|
|
||
| Info: Card moved is JH | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is TH | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is 6D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 3 to the foundations | ||
|
|
||
| Info: Card moved is 5D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 1 to the foundations | ||
|
|
||
| Info: Card moved is 6S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 4 to the foundations | ||
|
|
||
| Info: Card moved is 7S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 2 to the foundations | ||
|
|
||
| Info: Card moved is 8D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 3 to the foundations | ||
|
|
||
| Info: Card moved is 9C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is 6H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 0 to the foundations | ||
|
|
||
| Info: Card moved is 5H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 1 to the foundations | ||
|
|
||
| Info: Card moved is 4S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 5 to the foundations | ||
|
|
||
| Info: Card moved is 3H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 5 to the foundations | ||
|
|
||
| Info: Card moved is 4D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 2 to the foundations | ||
|
|
||
| Info: Card moved is 3S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 6 to the foundations | ||
|
|
||
| Info: Card moved is 2C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 2 to the foundations | ||
|
|
||
| Info: Card moved is AS | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is 6C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 1 to the foundations | ||
|
|
||
| Info: Card moved is 5C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is QC | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 4 to the foundations | ||
|
|
||
| Info: Card moved is KC | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is JS | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 3 to the foundations | ||
|
|
||
| Info: Card moved is QS | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 4 to the foundations | ||
|
|
||
| Info: Card moved is KH | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is 9S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 1 to the foundations | ||
|
|
||
| Info: Card moved is 8S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 5 to the foundations | ||
|
|
||
| Info: Card moved is 9H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Deal talon | ||
|
|
||
| Info: Card moved is AD | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 6 to the foundations | ||
|
|
||
| Info: Card moved is 2S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 0 to the foundations | ||
|
|
||
| Info: Card moved is 3C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 4 to the foundations | ||
|
|
||
| Info: Card moved is 4C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 0 to the foundations | ||
|
|
||
| Info: Card moved is 3D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 2 to the foundations | ||
|
|
||
| Info: Card moved is 2D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 0 to the foundations | ||
|
|
||
| Info: Card moved is AH | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
|
|
||
|
|
||
| -------------------- | ||
| Total number of states checked is 76951. | ||
| This scan generated 76997 states. |
| @@ -0,0 +1,18 @@ | ||
| Foundations: AS | ||
| 2H TS 5D | ||
| JS QD 4D | ||
| 5S KS 8C | ||
| 5C 8D 3D | ||
| 6H 8H TD | ||
| 2C TC 2D | ||
| TH QS 4C | ||
| 2S 4S 7H | ||
| JC 9D 6S | ||
| QH KH 7D | ||
| 3H 7S 9S | ||
| 9H KD KC | ||
| 7C JD 6D | ||
| QC 4H 9C | ||
| 3C 8S 6C | ||
| AC 3S JH | ||
| AD 5H AH |
| @@ -0,0 +1,363 @@ | ||
| Solved! | ||
| Move a card from stack 11 to the foundations | ||
|
|
||
| Info: Card moved is KC | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 16 to the foundations | ||
|
|
||
| Info: Card moved is AH | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 5 to the foundations | ||
|
|
||
| Info: Card moved is 2D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 3 to the foundations | ||
|
|
||
| Info: Card moved is 3D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 6 to the foundations | ||
|
|
||
| Info: Card moved is 4C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 16 to the foundations | ||
|
|
||
| Info: Card moved is 5H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 14 to the foundations | ||
|
|
||
| Info: Card moved is 6C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 9 to the foundations | ||
|
|
||
| Info: Card moved is 7D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 14 to the foundations | ||
|
|
||
| Info: Card moved is 8S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 13 to the foundations | ||
|
|
||
| Info: Card moved is 9C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 5 to the foundations | ||
|
|
||
| Info: Card moved is TC | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 15 to the foundations | ||
|
|
||
| Info: Card moved is JH | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 6 to the foundations | ||
|
|
||
| Info: Card moved is QS | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 11 to the foundations | ||
|
|
||
| Info: Card moved is KD | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 16 to the foundations | ||
|
|
||
| Info: Card moved is AD | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 5 to the foundations | ||
|
|
||
| Info: Card moved is 2C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 15 to the foundations | ||
|
|
||
| Info: Card moved is 3S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 13 to the foundations | ||
|
|
||
| Info: Card moved is 4H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 0 to the foundations | ||
|
|
||
| Info: Card moved is 5D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 12 to the foundations | ||
|
|
||
| Info: Card moved is 6D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 7 to the foundations | ||
|
|
||
| Info: Card moved is 7H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 3 to the foundations | ||
|
|
||
| Info: Card moved is 8D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 11 to the foundations | ||
|
|
||
| Info: Card moved is 9H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 0 to the foundations | ||
|
|
||
| Info: Card moved is TS | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 12 to the foundations | ||
|
|
||
| Info: Card moved is JD | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 13 to the foundations | ||
|
|
||
| Info: Card moved is QC | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 9 to the foundations | ||
|
|
||
| Info: Card moved is KH | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 15 to the foundations | ||
|
|
||
| Info: Card moved is AC | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 0 to the foundations | ||
|
|
||
| Info: Card moved is 2H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 14 to the foundations | ||
|
|
||
| Info: Card moved is 3C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 1 to the foundations | ||
|
|
||
| Info: Card moved is 4D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 3 to the foundations | ||
|
|
||
| Info: Card moved is 5C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 8 to the foundations | ||
|
|
||
| Info: Card moved is 6S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 12 to the foundations | ||
|
|
||
| Info: Card moved is 7C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 2 to the foundations | ||
|
|
||
| Info: Card moved is 8C | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 8 to the foundations | ||
|
|
||
| Info: Card moved is 9D | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 6 to the foundations | ||
|
|
||
| Info: Card moved is TH | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 8 to the foundations | ||
|
|
||
| Info: Card moved is JC | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 9 to the foundations | ||
|
|
||
| Info: Card moved is QH | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 2 to the foundations | ||
|
|
||
| Info: Card moved is KS | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 1 to the foundations | ||
|
|
||
| Info: Card moved is QD | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 1 to the foundations | ||
|
|
||
| Info: Card moved is JS | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 4 to the foundations | ||
|
|
||
| Info: Card moved is TD | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 10 to the foundations | ||
|
|
||
| Info: Card moved is 9S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 4 to the foundations | ||
|
|
||
| Info: Card moved is 8H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 10 to the foundations | ||
|
|
||
| Info: Card moved is 7S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 4 to the foundations | ||
|
|
||
| Info: Card moved is 6H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 2 to the foundations | ||
|
|
||
| Info: Card moved is 5S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 7 to the foundations | ||
|
|
||
| Info: Card moved is 4S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 10 to the foundations | ||
|
|
||
| Info: Card moved is 3H | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
| Move a card from stack 7 to the foundations | ||
|
|
||
| Info: Card moved is 2S | ||
|
|
||
|
|
||
| ==================== | ||
|
|
||
|
|
||
|
|
||
| -------------------- | ||
| Total number of states checked is 12461. | ||
| This scan generated 12492 states. |
| @@ -0,0 +1,37 @@ | ||
| #!/usr/bin/env perl | ||
|
|
||
| use strict; | ||
| use warnings; | ||
| use Test::More; | ||
|
|
||
| use vars qw/ $trap /; | ||
| eval | ||
| "use Test::Trap qw( trap \$trap :flow:stderr(systemsafe):stdout(systemsafe):warn );"; | ||
|
|
||
| if ($@) | ||
| { | ||
| plan 'skip_all' => "Failed to load Test::Trap . Skipping."; | ||
| } | ||
| else | ||
| { | ||
| plan tests => 2; | ||
| } | ||
|
|
||
| { | ||
| my $exit_code; | ||
| trap( | ||
| sub { | ||
| $exit_code = system( $^X, "-I", "lib", | ||
| "bin/verify-solitaire-solution", | ||
| "t/data/sample-solutions/1.fc-wrong.sol.txt" | ||
| ); | ||
| } | ||
| ); | ||
|
|
||
| # TEST | ||
| ok( $exit_code, "Non zero (failure) process exit code." ); | ||
|
|
||
| # TEST | ||
| like( $trap->stderr(), qr#\AWrong.*\n\z#, "Trailing newline in error line.", | ||
| ); | ||
| } |
| @@ -1,39 +1 @@ | ||
| [@CorePrep] | ||
|
|
||
| [-SingleEncoding] | ||
|
|
||
| [Generic / NAME] | ||
|
|
||
| [Version] | ||
|
|
||
| [Region / prelude] | ||
|
|
||
|
|
||
| [Generic / SYNOPSIS] | ||
| [Generic / DESCRIPTION] | ||
| [Generic / OVERVIEW] | ||
|
|
||
| [Collect / ATTRIBUTES] | ||
| command = attr | ||
|
|
||
| [Collect / METHODS] | ||
| command = method | ||
|
|
||
| [Leftovers] | ||
|
|
||
| [Region / postlude] | ||
|
|
||
| [Authors] | ||
| [Legal] | ||
|
|
||
| ; [Generic / DESCRIPTION] | ||
| ; required = 1 | ||
|
|
||
| ; [Generic / BUGS] | ||
|
|
||
| ; [Generic / Section::Bugs] | ||
| ; [Generic / Section::License] | ||
| ; | ||
| [Bugs] | ||
| [Support] | ||
| all_modules = 1 | ||
| [@SHLOMIF] |
| @@ -0,0 +1,65 @@ | ||
| package FC_Solve::PreSanityCheck; | ||
|
|
||
| use strict; | ||
| use warnings; | ||
| use 5.024; | ||
|
|
||
| use lib '.'; | ||
| use FC_Solve::Solve (); | ||
|
|
||
| use lib '../Games-Solitaire-Verify/lib'; | ||
|
|
||
| use parent 'Exporter'; | ||
|
|
||
| # our @EXPORT_OK = qw(solve fc_solve_init); | ||
|
|
||
| use autodie; | ||
|
|
||
| use List::MoreUtils qw/ true /; | ||
|
|
||
| sub verify | ||
| { | ||
| #my ( $game_params, $board_idx ) = @_; | ||
|
|
||
| # my $fc_solve_output = `pi-make-microsoft-freecell-board -t $board_idx | fc-solve -p -t -sam -sel @fc_solve_args`; | ||
| my $board_idx = 1; | ||
| FC_Solve::Solve::fc_solve_init( [qw(-l lg)] ); | ||
| my $fc_solve_output = FC_Solve::Solve::fc_solve_solve($board_idx); | ||
| if ( $fc_solve_output =~ /\b10[CDHS]\b/ ) | ||
| { | ||
| say $fc_solve_output; | ||
| die "no t in fc_solve_output"; | ||
| } | ||
|
|
||
| if ( $fc_solve_output =~ /---/ ) | ||
| { | ||
| say $fc_solve_output; | ||
| die "no parsable sol"; | ||
| } | ||
| my $_line_found = sub { | ||
| my ($s) = @_; | ||
|
|
||
| return ( index( $fc_solve_output, $s ) >= 0 ); | ||
| }; | ||
|
|
||
| my $is_solvable = $_line_found->('This game is solveable'); | ||
| my $unsolved = $_line_found->('I could not solve'); | ||
| my $intractable = $_line_found->('Iterations count exceeded'); | ||
|
|
||
| if ( 1 != true { $_ } ( $is_solvable, $unsolved, $intractable ) ) | ||
| { | ||
| die "Game is more than one of solved, unsolvable or intractable!"; | ||
| } | ||
|
|
||
| if ( !$is_solvable ) | ||
| { | ||
| die "not solveable"; | ||
| } | ||
|
|
||
| say "All ok"; | ||
| return; | ||
| } | ||
|
|
||
| verify(); | ||
|
|
||
| 1; |
| @@ -1 +1,6 @@ | ||
| sudo_renice bash -c "export FCS_PATH=\"$b\"; export FCS_SRC_PATH=\"$c_src\"; PATH=\"\$HOME/apps/perl/bleadperl/bin:\$PATH\"; time make -j4 -f par.mak" | ||
| rm -f Results/*.res | ||
| if perl FC_Solve/PreSanityCheck.pm | ||
| then | ||
| # sudo_renice bash -c "export FCS_PATH=\"$b\"; export FCS_SRC_PATH=\"$c_src\"; time make -j4 -f par.mak" | ||
| sudo_renice bash -c "export FCS_PATH=\"$b\"; export FCS_SRC_PATH=\"$c_src\"; export LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH\" ; PATH=\"\$HOME/apps/perl/bleadperl/bin:\$PATH\"; time ninja -j4" | ||
| fi |
| @@ -1,2 +1,10 @@ | ||
| rm -f Results/*.res | ||
| sudo_renice bash -c "export FCS_PATH=\"$b\"; export FCS_SRC_PATH=\"$c_src\"; time make -j4 -f par.mak" | ||
| ( rm -f Results/*.res ) 2> /dev/null | ||
| if ! test -e build.ninja | ||
| then | ||
| perl gen-par-mak.pl | ||
| fi | ||
| if perl FC_Solve/PreSanityCheck.pm | ||
| then | ||
| # sudo_renice bash -c "export FCS_PATH=\"$b\"; export FCS_SRC_PATH=\"$c_src\"; time make -j4 -f par.mak" | ||
| sudo_renice bash -c "export FCS_PATH=\"$b\"; export FCS_SRC_PATH=\"$c_src\"; export LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH\" ; time ninja -j4" | ||
| fi |
| @@ -0,0 +1,60 @@ | ||
| #!/usr/bin/perl | ||
|
|
||
| use strict; | ||
| use warnings; | ||
| use autodie; | ||
| use FindBin qw/ $Bin /; | ||
| use File::Path qw/ rmtree /; | ||
| use Env::Path; | ||
|
|
||
| Env::Path->LD_LIBRARY_PATH->Prepend( $ENV{FCS_PATH} ); | ||
|
|
||
| chdir($Bin); | ||
|
|
||
| sub do_system | ||
| { | ||
| my ($args) = @_; | ||
|
|
||
| my $cmd = $args->{cmd}; | ||
| print "Running [@$cmd]\n"; | ||
| if ( system(@$cmd) ) | ||
| { | ||
| die "Running [@$cmd] failed!"; | ||
| } | ||
| } | ||
| do_system( { cmd => [ $^X, "gen-par-mak.pl" ] } ); | ||
|
|
||
| sub _cleanup | ||
| { | ||
| rmtree( ["_Inline"] ); | ||
| unlink( grep { -f $_ } glob("Results/*.res") ); | ||
| return; | ||
| } | ||
|
|
||
| _cleanup(); | ||
|
|
||
| do_system( { cmd => [ "gmake", "-f", "par2.mak", "-j1", "Results/1.res", ] } ); | ||
| do_system( { cmd => [ "gmake", "-f", "par2.mak", "-j1", "Results/2.res", ] } ); | ||
|
|
||
| use Path::Tiny qw/ path tempdir tempfile cwd /; | ||
|
|
||
| my @l = path("Results/1.res")->lines_utf8; | ||
| chomp @l; | ||
| my $i = 1; | ||
| while (@l) | ||
| { | ||
| my $l = shift(@l); | ||
| if ( $l ne "== $i ==" ) | ||
| { | ||
| die $l; | ||
| } | ||
| $l = shift(@l); | ||
| if ( $l !~ /\AVerdict: Solved ; Iters: [0-9]+ ; Length: [0-9]+\z/ ) | ||
| { | ||
| die $l; | ||
| } | ||
| } | ||
| continue { ++$i; } | ||
| die if $i ne 101; | ||
| _cleanup(); | ||
| unlink( "build.ninja", "par2.mak" ); |
| @@ -1,4 +1,7 @@ | ||
| Revision history for Task-FreecellSolver-Testing-MultiConfig | ||
|
|
||
| 0.0.2 2020-03-05 | ||
| Add some newer deps | ||
|
|
||
| 0.0.1 2018-06-26 | ||
| First version, released on an unsuspecting world. |
| @@ -1,39 +1 @@ | ||
| [@CorePrep] | ||
|
|
||
| [-SingleEncoding] | ||
|
|
||
| [Generic / NAME] | ||
|
|
||
| [Version] | ||
|
|
||
| [Region / prelude] | ||
|
|
||
|
|
||
| [Generic / SYNOPSIS] | ||
| [Generic / DESCRIPTION] | ||
| [Generic / OVERVIEW] | ||
|
|
||
| [Collect / ATTRIBUTES] | ||
| command = attr | ||
|
|
||
| [Collect / METHODS] | ||
| command = method | ||
|
|
||
| [Leftovers] | ||
|
|
||
| [Region / postlude] | ||
|
|
||
| [Authors] | ||
| [Legal] | ||
|
|
||
| ; [Generic / DESCRIPTION] | ||
| ; required = 1 | ||
|
|
||
| ; [Generic / BUGS] | ||
|
|
||
| ; [Generic / Section::Bugs] | ||
| ; [Generic / Section::License] | ||
| ; | ||
| [Bugs] | ||
| [Support] | ||
| all_modules = 1 | ||
| [@SHLOMIF] |
| @@ -0,0 +1,13 @@ | ||
| Apparently, in recent versions of Microsoft Windows FreeCell on Windows 10, the | ||
| deal number display there is misleading for the "Random" deals. This appears to | ||
| be a bug in MS FreeCell. One can instruct it to deal a numbered deal, or | ||
| alternatively input the cards' layout into the web-based solver manually using | ||
| the text notation. | ||
|
|
||
| We apologise for the inconvenience, but note that it is not our fault and it is | ||
| up to Microsoft to fix it. | ||
|
|
||
| We can recommend that you try PySol FC ( https://pysolfc.sourceforge.io/ ) | ||
| instead, which shares some maintainers with Freecell Solver, and which is FOSS | ||
| (see https://en.wikipedia.org/wiki/Free_and_open-source_software ) and gratis | ||
| and should run fine on Windows and other platforms. |
| @@ -0,0 +1,50 @@ | ||
| I am using [QUnit](https://github.com/qunitjs/qunit/) in an MIT-licensed | ||
| project written in part in TypeScript. I have some TS functions that | ||
| accept the QUnit as a parameter and wish to type them as its interface | ||
| from [the typing](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/qunit) | ||
|
|
||
| E.g: | ||
|
|
||
| ```typescript | ||
| import { QUnit } from "qunit"; | ||
|
|
||
|
|
||
| export function run_tests(q: QUnit) | ||
| { | ||
| q.module((a) => { ... }); | ||
| } | ||
| ``` | ||
|
|
||
| However, when I try, I am getting this error: | ||
|
|
||
| ``` | ||
| tsc --project lib/typescript/www/tsconfig.json | ||
| src/ts/web-fc-solve-tests.ts(12,23): error TS2306: File '/home/shlomif/progs/fre | ||
| ecell/git/fc-solve/fc-solve/site/wml/node_modules/@types/qunit/index.d.ts' is no | ||
| t a module. | ||
| ``` | ||
|
|
||
| Here is my code (note the branch): https://github.com/shlomif/fc-solve/tree/qunit-typescript - it is under the `fc-solve/site/wml` sub directory. | ||
|
|
||
| My `tsconfig.json` is: | ||
|
|
||
| ```json | ||
| { | ||
| "compilerOptions": { | ||
| "baseUrl": ".", | ||
| "esModuleInterop": true, | ||
| "module": "amd", | ||
| "moduleResolution": "node", | ||
| "noImplicitReturns": true, | ||
| "outDir": "../../../lib/out-babel/js", | ||
| "paths": { | ||
| "big-integer": ["node_modules/big-integer/BigInteger.d.ts"], | ||
| "qunit": ["node_modules/@types/qunit"] | ||
| }, | ||
| "target":"es6" | ||
| }, | ||
| "include": ["../../../src/ts/**/*.ts"] | ||
| } | ||
| ``` | ||
|
|
||
| Thanks for any help. |
| @@ -1,2 +1,2 @@ | ||
| #!/bin/bash | ||
| sudo_renice bash ../scripts/run-variant-sequence.sh 1 1000 | ||
| sudo_renice bash ../scripts/run-variant-sequence.sh 1 2500 |