diff --git a/html-src/rules/alibaba.html b/html-src/rules/alibaba.html new file mode 100644 index 00000000..1867bfe3 --- /dev/null +++ b/html-src/rules/alibaba.html @@ -0,0 +1,13 @@ +
+Klondike type. 1 deck. Unlimited redeals. + +
+Move all cards to the foundations. + +
+Just like Big Forty, +but the aces are dealt to the foundations at the start +of the game. diff --git a/html-src/rules/bigcourtyard.html b/html-src/rules/bigcourtyard.html new file mode 100644 index 00000000..073ca7ae --- /dev/null +++ b/html-src/rules/bigcourtyard.html @@ -0,0 +1,15 @@ +
+Forty Thieves type. 3 decks. No redeal. + +
+Move all cards to the foundations. + +
+A three deck variation of Courtyard. +
+Like Forty Thieves, +but with three decks, 12 piles of one card each, sequences can be moved, +and empty piles are automatically filled from the waste or talon. diff --git a/html-src/rules/buffalobill.html b/html-src/rules/buffalobill.html new file mode 100644 index 00000000..34b541e0 --- /dev/null +++ b/html-src/rules/buffalobill.html @@ -0,0 +1,20 @@ +
+Two-Deck game type. 2 decks. No redeal. + +
+Move all the cards to the foundations. + +
+Cards are dealt to 26 piles of four cards each. No building +on the tableau is allowed. Cards in the tableau can only be +moved to foundations or one of eight free cells. Four +foundations are built up by same suit from ace to king, while +the other four are built down by same suit from king to ace, with +one foundation of each type for each suit. Single cards can +be moved to each of the free cells, and can only be moved to +a foundation from there. +
+The game is won when all cards are moved to the foundations. diff --git a/html-src/rules/capricieuse.html b/html-src/rules/capricieuse.html new file mode 100644 index 00000000..dcc02c02 --- /dev/null +++ b/html-src/rules/capricieuse.html @@ -0,0 +1,15 @@ +
+Baker's Dozen type. 2 decks. 2 redeals. + +
+Move all cards to the foundations. + +
+Like Nationale, but with two redeals. +
+When there are no moves left, you can pick up all the foundation +piles, combine them, and redeal as before. You're allowed to +do this twice per game. diff --git a/html-src/rules/cassim.html b/html-src/rules/cassim.html new file mode 100644 index 00000000..cefebf57 --- /dev/null +++ b/html-src/rules/cassim.html @@ -0,0 +1,13 @@ +
+Klondike type. 1 deck. Unlimited redeals. + +
+Move all cards to the foundations. + +
+Just like Big Forty, +but the aces are dealt to the foundations at the start +of the game, and there are only seven tableau piles. diff --git a/html-src/rules/castleofindolence.html b/html-src/rules/castleofindolence.html new file mode 100644 index 00000000..6bb13262 --- /dev/null +++ b/html-src/rules/castleofindolence.html @@ -0,0 +1,22 @@ +
+Beleaguered Castle type. 2 decks. No redeal. + +
+Move all cards to the foundations. + +
+Cards are dealt to four tableau piles of seven cards, +and four of six cards. The remaining cards are dealt to +four reserve piles of thirteen cards each. +
+Tableau piles are built down by rank regardless of suit. +Single cards can be moved between piles, and any single +card can fill an empty pile. Single cards can be moved +from the reserve to tableau or foundation piles. +
+Foundation piles are built up by rank regardless of suit +from ace to king. The game is won if all cards are moved +to the foundations. diff --git a/html-src/rules/courtyard.html b/html-src/rules/courtyard.html index a3818f14..c7d184d0 100644 --- a/html-src/rules/courtyard.html +++ b/html-src/rules/courtyard.html @@ -9,5 +9,5 @@ Move all cards to the foundations.
Like Forty Thieves, -but with 12 piles, sequences can be moved, +but with 12 piles of one card each, sequences can be moved, and empty piles are automatically filled from the waste or talon. diff --git a/html-src/rules/desertisland.html b/html-src/rules/desertisland.html new file mode 100644 index 00000000..de40be2c --- /dev/null +++ b/html-src/rules/desertisland.html @@ -0,0 +1,20 @@ +
+Two-Deck game type. 2 decks. No redeal. + +
+Move all the cards except the picture cards to the foundations. + +
+The aces are dealt to the foundations. One card is dealt to +each of 24 tableau piles. No building on the tableau is allowed, +though empty tableau piles can be filled with a single card from the +top of another pile. The foundations are built up by same suit from +ace to ten. Jacks, queens, and kings cannot be moved to the +foundations. +
+When there are no moves left, deal one card from the talon to each +of the tableau piles, arranged so only the top card is visible. The +game is won if all the aces through tens are moved to the foundations. diff --git a/html-src/rules/doorway.html b/html-src/rules/doorway.html new file mode 100644 index 00000000..203f7238 --- /dev/null +++ b/html-src/rules/doorway.html @@ -0,0 +1,23 @@ +
+Klondike type. 1 deck. No redeal. + +
+Move all cards to the foundations. + +
+A card is dealt to each of five tableau piles. Tableau +piles are built down by rank, regardless of suit. Only +single cards can be moved between tableau piles, and any +card can fill an empty pile. The foundations are built up +by same suit from ace to king. +
+There are two reserve piles. One can only contain a single +king and the other can only contain a single queen. +
+When there are no moves left, you can deal cards from the +talon one at a time, and move them to a tableau, foundation, +or reserve. No redeals are allowed. The game is won if all +cards are moved to the foundations. diff --git a/html-src/rules/doublegoldmine.html b/html-src/rules/doublegoldmine.html new file mode 100644 index 00000000..79417e5c --- /dev/null +++ b/html-src/rules/doublegoldmine.html @@ -0,0 +1,12 @@ +
+Numerica type. 2 decks. No redeal. + +
+Move all cards to the foundations. + +
+Like Gold Mine, +but with two decks and nine tableau piles. diff --git a/html-src/rules/eclipse.html b/html-src/rules/eclipse.html new file mode 100644 index 00000000..af7b9cd2 --- /dev/null +++ b/html-src/rules/eclipse.html @@ -0,0 +1,13 @@ +
+Gypsy type. 2 decks. No redeal. + +
+Move all cards to the foundations. + +
+Like Gypsy, +but with thirteen tableau piles of four cards each, +all face-up, and piles are built down by same suit. diff --git a/html-src/rules/fechtersgame.html b/html-src/rules/fechtersgame.html new file mode 100644 index 00000000..d7379b36 --- /dev/null +++ b/html-src/rules/fechtersgame.html @@ -0,0 +1,25 @@ +
+Spider type. 2 decks. No redeal. + +
+Group all the cards in sets of 13 cards in descending sequence +by alternate color from King to Ace and move such sets to the foundations. + +
+Four cards are dealt to each of twelve tableau piles, with alternating +cards face-up and face-down (the bottom and third from the bottom cards +are face-down). Tableau piles are built down by alternate color, and +any card or valid sequence of cards can be moved between tableau piles. +Only kings or sequences of cards starting with them can fill empty piles. +
+The object is to group the cards in sets of 13 cards, from King to Ace +in an alternating color sequence. Such groups can be moved to the foundations. +
+When there are no moves left, you can deal one card from the talon to +each tableau pile. However, if a tableau pile has a valid alternate color +sequence at the top of it, starting with a king, that pile is skipped. The +game is won if all cards are grouped into sequences and moved to the +foundations. diff --git a/html-src/rules/fifteen.html b/html-src/rules/fifteen.html new file mode 100644 index 00000000..c3bd4c54 --- /dev/null +++ b/html-src/rules/fifteen.html @@ -0,0 +1,14 @@ +
+Baker's Dozen type. 1 deck. No redeal. + +
+Move all cards to the foundations. + +
+Like Capricieuse, +but with fifteen piles of seven cards (the last +pile has only six), no cards are dealt to the +foundations at the start, and no redeals. diff --git a/html-src/rules/geoffrey.html b/html-src/rules/geoffrey.html new file mode 100644 index 00000000..4ce8a510 --- /dev/null +++ b/html-src/rules/geoffrey.html @@ -0,0 +1,15 @@ +
+Yukon type. 1 deck. No redeal. + +
+Move all cards to the foundations. + +
+Like Yukon, +but with a different layout consisting of four piles of +seven cards and four piles of six, with the bottom four +cards in the piles of six face-down, and the piles build +down by same suit. diff --git a/html-src/rules/goldmine.html b/html-src/rules/goldmine.html index ee639312..c41b45f6 100644 --- a/html-src/rules/goldmine.html +++ b/html-src/rules/goldmine.html @@ -12,7 +12,7 @@ The foundations build up by rank in the same suit.
Cards are dealt from the stock three at a time. These cards may be moved to the foundations as appropriate, or to one of -six tableau piles. Tableau piles are built down by alternate +seven tableau piles. Tableau piles are built down by alternate color. Sequences of cards may be moved between tableau piles.
You may only go through the stock once. The game is won if all diff --git a/html-src/rules/lily.html b/html-src/rules/lily.html new file mode 100644 index 00000000..7b122fee --- /dev/null +++ b/html-src/rules/lily.html @@ -0,0 +1,13 @@ +
+Spider type. 2 decks. No redeal. + +
+Arrange all cards in columns with complete sequences from king to ace. + +
+Like Trillium, +but only kings, or sequences of cards starting with one, +can be moved to empty tableau piles. diff --git a/html-src/rules/littlebillie.html b/html-src/rules/littlebillie.html new file mode 100644 index 00000000..c2181ab8 --- /dev/null +++ b/html-src/rules/littlebillie.html @@ -0,0 +1,13 @@ +
+Two-Deck game type. 2 decks. No redeal. + +
+Move all the cards to the foundations. + +
+Like Buffalo Bill, +but with only 24 foundation piles, and the remaining eight +cards dealt to the free cells. diff --git a/html-src/rules/munger.html b/html-src/rules/munger.html new file mode 100644 index 00000000..dc30b660 --- /dev/null +++ b/html-src/rules/munger.html @@ -0,0 +1,13 @@ +
+Canfield game type. 1 deck. No redeal. + +
+Move all the cards to the foundations. + +
+Like Minerva, +but with only seven cards in the reserve, +and no redeal. diff --git a/html-src/rules/mystique.html b/html-src/rules/mystique.html new file mode 100644 index 00000000..6e808a91 --- /dev/null +++ b/html-src/rules/mystique.html @@ -0,0 +1,14 @@ +
+Canfield game type. 1 deck. No redeal. + +
+Move all the cards to the foundations. + +
+Like Minerva, +but with only nine cards in the reserve, +no redeal, and any card can be played in +empty tableau piles. diff --git a/html-src/rules/numberten.html b/html-src/rules/numberten.html index d8681381..58ed96bd 100644 --- a/html-src/rules/numberten.html +++ b/html-src/rules/numberten.html @@ -9,5 +9,6 @@ Move all cards to the foundations.
Like Forty Thieves, -but the piles build down by alternate color, and sequences can -be moved. +but with ten piles of four cards each (the bottom two cards +of each pile are face-down) the piles build down by alternate +color, and sequences can be moved. diff --git a/html-src/rules/numbertwelve.html b/html-src/rules/numbertwelve.html new file mode 100644 index 00000000..f0aad13e --- /dev/null +++ b/html-src/rules/numbertwelve.html @@ -0,0 +1,19 @@ +
+Forty Thieves type. 2 decks. No redeal. + +
+Move all cards to the foundations. + +
+Like Forty Thieves, +but with three decks, twelve piles of four cards each (the bottom +two cards of each pile are face-down) the piles build down by +alternate color, and sequences can be moved. + +
+Number Twelve is a three deck variant of +Number Ten. diff --git a/html-src/rules/patriarchs.html b/html-src/rules/patriarchs.html new file mode 100644 index 00000000..fa3c3c2c --- /dev/null +++ b/html-src/rules/patriarchs.html @@ -0,0 +1,24 @@ +
+Two-Deck game type. 2 decks. 1 redeal. + +
+Move all the cards to the foundations. + +
+At the start of the game, an ace and king of each +suit is dealt to the foundations, and a card is dealt to +each of nine reserves. Cards cannot be moved between +reserves, but reserve cards can be moved to the foundations. +The foundations with the aces are built up by same suit +from ace to king, while the foundations with the kings are +built down by same suit from king to ace. Empty reserve +cards are immediately replaced from the waste pile. +
+When there are no moves left, you can draw cards one at a time +from the talon, and move them to the foundations if possible. +You are allowed one redeal, so you can go through the talon +twice. The game is won if all cards are moved to the +foundations. diff --git a/html-src/rules/picturepatience.html b/html-src/rules/picturepatience.html new file mode 100644 index 00000000..153e459b --- /dev/null +++ b/html-src/rules/picturepatience.html @@ -0,0 +1,13 @@ +
+Two-Deck game type. 2 decks. No redeal. + +
+Move all the cards to the foundations. + +
+Just like Patriarchs, +but no cards are dealt to the foundations at the start +of the game, and no redeal is allowed. diff --git a/html-src/rules/roosevelt.html b/html-src/rules/roosevelt.html new file mode 100644 index 00000000..08ea2b81 --- /dev/null +++ b/html-src/rules/roosevelt.html @@ -0,0 +1,13 @@ +
+Forty Thieves type. 2 decks. No redeal. + +
+Move all cards to the foundations. + +
+Like Forty Thieves, but with +seven tableau piles of four cards each, and the piles build down by +alternate color. diff --git a/html-src/rules/royalaids.html b/html-src/rules/royalaids.html new file mode 100644 index 00000000..94cee555 --- /dev/null +++ b/html-src/rules/royalaids.html @@ -0,0 +1,24 @@ +
+Two-Deck game type. 2 decks. Unlimited redeals. + +
+Move all the cards to the foundations. + +
+The aces are dealt to the foundations, and ten cards are dealt to +each of four tableau piles. No building is allowed on these piles, +but two additional tableau piles are available (with no cards dealt +to them at the start), which are built down by alternate color from +king to ace, with only the top card visible. +
+The top card of each tableau pile can be moved to one of the extra +tableau piles or foundations. The foundations are built up by +alternate color from ace to king. +
+When there are no moves left, you can deal cards from the talon one +at a time, and can move them to appropriate tableau or foundation +piles. You can go through the talon as many times as necessary. +The game is won if all cards are moved to the foundations. diff --git a/html-src/rules/saliclaw.html b/html-src/rules/saliclaw.html new file mode 100644 index 00000000..4bd5b197 --- /dev/null +++ b/html-src/rules/saliclaw.html @@ -0,0 +1,31 @@ +
+Two-Deck game type. 2 decks. No redeal. + +
+Move all the cards to the foundations, except for the kings. + +
+At the start of the game, the queens are dealt to an upper row +of foundations, and a single king is dealt to the tableau. No +further cards are dealt to the queen foundation. +
+Cards are dealt from the talon to a tableau pile one at a time. +While dealing to the tableau, any exposed cards can be moved +to the lower foundations, which are built up by rank from ace to +jack, regardless of suit. +
+If a king would be dealt to the tableau, the current tableau +pile is completed, and the king is used to start a new pile. +Cards are dealt to this pile before the next pile. +
+Any single card can be moved onto an exposed king in the tableau, +but otherwise, there is no building on the tableau. The game is +won if all cards other than the kings are moved to the foundations. + +
+The name Salic Law is reference to an ancient Frankish law, which +prevented women from claiming the throne or earning inheritance. diff --git a/html-src/rules/tenacross.html b/html-src/rules/tenacross.html new file mode 100644 index 00000000..2aca0afc --- /dev/null +++ b/html-src/rules/tenacross.html @@ -0,0 +1,24 @@ +
+Yukon type. 1 deck. No redeal. + +
+Group all the cards in sets of 13 cards in descending sequence +by suit from King to Ace and move such sets to the foundations. + +
+Five cards are dealt to each of ten tableau piles. In the first +pile, all cards are face-up. The bottom card of the second pile +is face-down, and each pile has one more face-down card up to the +fifth. The remaining piles follow the pattern in reverse. The +last two cards are dealt to two free cells. +
+Tableau piles are built down by same suit. Groups of cards can be +moved regardless of sequence. An empty pile in the tableau can only +be filled with a King or a group of cards with a King on the bottom. +Single cards can be moved freely between the tableau and free cells. +
+The object is to group the cards in sets of 13 cards, from King to Ace +of the same suit. Such groups can be moved to the foundations. diff --git a/pysollib/games/sultan.py b/pysollib/games/sultan.py index 2b98c1d9..7861101b 100644 --- a/pysollib/games/sultan.py +++ b/pysollib/games/sultan.py @@ -1419,8 +1419,7 @@ registerGame(GameInfo(559, Marshal, "Marshal", registerGame(GameInfo(565, RoyalAids, "Royal Aids", GI.GT_2DECK_TYPE, 2, UNLIMITED_REDEALS, GI.SL_BALANCED)) registerGame(GameInfo(598, PicturePatience, "Picture Patience", - GI.GT_2DECK_TYPE, 2, 0, GI.SL_MOSTLY_LUCK, - rules_filename="patriarchs.html")) + GI.GT_2DECK_TYPE, 2, 0, GI.SL_MOSTLY_LUCK)) registerGame(GameInfo(635, CircleEight, "Circle Eight", GI.GT_1DECK_TYPE, 1, 1, GI.SL_MOSTLY_LUCK)) registerGame(GameInfo(646, Adela, "Adela",