1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Added two dozen more missing game rules.

This commit is contained in:
Joe R 2022-04-15 21:16:19 -04:00
parent 72b411d8d5
commit f5cc29566e
35 changed files with 443 additions and 33 deletions

View file

@ -0,0 +1,23 @@
<h1>Applegate</h1>
<p>
Spider game type. 1 deck. No redeal.
<h3>Object</h3>
<p>
Group all the cards in sets of 13 cards in descending sequence
by suit from King to Ace.
<h3>Rules</h3>
<p>
Cards are dealt to seven piles of seven cards. The cards in the
first pile are all face-up while the bottom two cards of the
remaining piles are face-down. The remaining three cards are
placed in reserves.
<p>
Tableau piles are built down by same suit. Groups of cards can
be moved between tableau piles regardless of suit. Reserve cards
can be moved to the tableau, but cards cannot be moved to the
reserves.
<p>
The game is won when all the cards are dealt into four sequences of
the same suit, descending from King to Ace.

View file

@ -27,5 +27,5 @@ piles have seven cards, any remaining cards are dealt to the
bottom of the piles face-up, until the deck is empty.
<p>
The foundations are built up by suit, with sevens being placed
on top of aces. The game is won if al cards are moved to the
on top of aces. The game is won if all cards are moved to the
foundations.

View file

@ -0,0 +1,13 @@
<h1>Box Fan</h1>
<p>
Fan game type. 1 deck. No redeal.
<h3>Object</h3>
<p>
Move all cards to the foundations.
<h3>Quick Description</h3>
<p>
Like <a href="fan.html">Fan</a>,
but there are 16 piles, built down by alternate color,
and the aces are dealt to the foundations at the start.

View file

@ -0,0 +1,41 @@
<h1>British Constitution</h1>
<p>
Two-Deck game type. 2 decks. No redeal.
<h3>Object</h3>
<p>
Move all the cards to the foundations.
<h3>Rules</h3>
<p>
This game only uses the ranks from ace through jack. The
kings and queens are removed.
<p>
The aces are dealt to the foundation, and a card is dealt to
each tableau pile. There are four rows of eight tableau piles.
The tableau piles are built down by alternate color, so only the
top card is visible, and only cards from the row directly below
can be moved to a tableau pile. Only one card can be moved at
a time.
<p>
Cards are dealt one at a time from the stock, and can be moved to
the bottommost tableau row only. Empty spaces in the bottom row
of the tableau are immediately filled from the waste pile. No
redeal is allowed.
<p>
The foundations are built up by suit from ace to jack, but only
cards from the top tableau row can be moved to the foundations.
The game is won if all cards are moved to the foundations.
<h3>Notes</h3>
<p>
In this game, the foundations are often called the "Government" with
the tableau called the "Constitution", the top row being the "Privy
Council" and the bottom being the "People Row".
<p>
In the rules written by Lady Cadogan, the queen of diamonds and eight
kings are placed above the foundations, with the queen being the
"Sovereign", the red kings being the "Judges", and the black kings
the "Bishops". Since their role is entirely thematic and decorative,
this is left out of most modern variants of the game, though it does
explain why they are omitted from the deck.

View file

@ -0,0 +1,14 @@
<h1>Carthage</h1>
<p>
Three-Deck game type. 3 decks. No redeal.
<h3>Object</h3>
<p>
Fill all of the foundations.
<h3>Quick Description</h3>
<p>
Like <a href="algerianpatience.html">Algerian Patience</a>,
but all of the foundations are built up from ace to king,
and the tableau is built down. No cards are dealt to the
foundations at the start of the game.

View file

@ -0,0 +1,13 @@
<h1>Chamberlain</h1>
<p>
Numerica type. 1 deck. No redeal.
<h3>Object</h3>
<p>
Move all cards to the foundations.
<h3>Quick Description</h3>
<p>
Like <a href="gloaming.html">Gloaming</a>, but with four
reserve piles of thirteen cards, only three tableau piles,
and the foundations are built up by rank, regardless of suit.

View file

@ -12,10 +12,6 @@ Like <a href="canfield.html">Canfield</a>,
but the three piles build down by rank,
cards are dealt singly, and no redeal.
<h3>Rules</h3>
<p>
<i>[To be written]</i>
<h3>History</h3>
<p>
This game is also known under names such as

View file

@ -0,0 +1,13 @@
<h1>Double Scorpion</h1>
<p>
Spider type. 2 decks. No redeal.
<h3>Object</h3>
<p>
Move all cards to the foundations.
<h3>Quick Description</h3>
<p>
Like <a href="scorpion.html">Scorpion</a>,
but with two decks and ten piles of ten cards
(four face-down cards in five piles).

12
html-src/rules/fanny.html Normal file
View file

@ -0,0 +1,12 @@
<h1>Fanny</h1>
<p>
Numerica type. 2 decks. No redeal.
<h3>Object</h3>
<p>
Move all cards to the foundations.
<h3>Quick Description</h3>
<p>
Like <a href="frog.html">Frog</a>, but the reserve consists of
twelve cards, and only the top one is visible.

13
html-src/rules/fly.html Normal file
View file

@ -0,0 +1,13 @@
<h1>Fly</h1>
<p>
Numerica type. 2 decks. No redeal.
<h3>Object</h3>
<p>
Move all cards to the foundations.
<h3>Quick Description</h3>
<p>
Like <a href="frog.html">Frog</a>, but the aces are dealt
to the foundations at the start of the game. In this
variant, the reserve is known as the fly.

22
html-src/rules/frog.html Normal file
View file

@ -0,0 +1,22 @@
<h1>Frog</h1>
<p>
Numerica type. 2 decks. No redeal.
<h3>Object</h3>
<p>
Move all cards to the foundations.
<h3>Rules</h3>
<p>
Thirteen cards are dealt to a reserve called the frog. If
an ace would be dealt to this reserve, it is dealt to the
foundations instead.
<p>
Cards are dealt one at a time from the stock, and are moved
to one of five tableau stacks, or the foundations. These stacks
can be built regardless of suit or rank, but once a card is in
the stacks, it can only be moved to the foundations. Cards in
the reserve can only be moved to the foundations.
<p>
Foundations are built up from ace to king, regardless of suit.
The game is won if all cards are moved to the foundations.

View file

@ -0,0 +1,16 @@
<h1>Hospital Patience</h1>
<p>
One-Deck game type. 1 deck. Unlimited redeals.
<h3>Object</h3>
<p>
Move all cards to foundations.
<h3>Rules</h3>
<p>
Cards are dealt from the talon three at a time, and can be
moved to foundations. Unlimited redeals are allowed. There
are eight foundations, four built up by suit from ace to king,
and four built down by suit from king to ace. The game is
won if all cards are moved to the foundations - it doesn't
matter how many cards are in each foundation.

View file

@ -0,0 +1,14 @@
<h1>Inquisitor</h1>
<p>
Klondike type. 2 decks. 2 redeals.
<h3>Object</h3>
<p>
Move all cards to the foundations.
<h3>Quick Description</h3>
<p>
Like <a href="bigharp.html">Big Harp</a>,
but all cards are visible, tableau piles are built
down by same suit, and cards are dealt from the talon
three at a time with only two redeals allowed.

View file

@ -0,0 +1,24 @@
<h1>Marshal</h1>
<p>
Two-Deck game type. 2 decks. No redeal.
<h3>Object</h3>
<p>
Move all cards to the foundations.
<h3>Rules</h3>
<p>
A single card is dealt to each of twenty-four tableau piles.
Tableau piles are built up or down by same suit, cards placed
so only the top one is visible. Empty tableau piles are
immediately filled from the stock. If the stock is empty,
tableau piles can't be filled.
<p>
If there are no moves left, you can deal one card from the
stock to all 24 piles.
<p>
There are two sets of foundations - the set on the left builds
up by same suit from ace to king while the set on the right
builds down by same suit from king to ace. Cards can be moved
between foundations. The game is won if all cards are moved
to the foundations.

View file

@ -11,7 +11,3 @@ Move all cards to the foundations.
Like <a href="fortythieves.html">Forty Thieves</a>,
but the 9 piles build down by any suit but own.
<br>Much like <a href="indian.html">Indian</a>.
<h3>Rules</h3>
<p>
<i>[To be written]</i>

View file

@ -0,0 +1,25 @@
<h1>Minerva</h1>
<p>
Canfield type. 1 deck. 1 redeal.
<h3>Object</h3>
<p>
Move all cards to the foundations.
<h3>Rules</h3>
<p>
Cards are dealt to seven piles of four cards each, with the
first and third card in each pile face-down and the second and
top card face-up. Eleven cards are dealt to a reserve pile,
with only the top one face-up. Tableau piles are built down
by alternate color, and any card or valid sequence of cards
can be moved between piles. Empty piles can only be filled
by kings.
<p>
The top card of the reserve can be moved to the tableau or
foundations, but cards cannot be moved to the reserve. Cards
are drawn from the talon one at a time, and can be moved to
the tableau or foundations. One redeal is allowed.
<p>
The foundations are built up by same suit from ace to king.
The game is won if all cards are moved to the foundations.

View file

@ -0,0 +1,13 @@
<h1>Napoleon's Square</h1>
<p>
Forty Thieves type. 2 decks. 1 redeal.
<h3>Object</h3>
<p>
Move all cards to the foundations.
<h3>Quick Description</h3>
<p>
Like <a href="fortythieves.html">Forty Thieves</a>,
but with twelve piles, and sequences of cards may
be moved together.

View file

@ -9,8 +9,5 @@ Move all cards to the foundations.
<h3>Quick Description</h3>
<p>
Like <a href="britishconstitution.html">British Constitution</a>,
but only Jacks on empty spaces and the piles build down by rank ignoring suit.
<h3>Rules</h3>
<p>
<i>[To be written]</i>
but only Jacks on empty spaces and the piles build down by rank
ignoring suit.

View file

@ -0,0 +1,12 @@
<h1>Portuguese Solitaire</h1>
<p>
Baker's Dozen type. 1 deck. No redeal.
<h3>Object</h3>
<p>
Move all cards to the foundations.
<h3>Quick Description</h3>
<p>
Like <a href="bakersdozen.html">Baker's Dozen</a>,
but empty piles can be filled by kings.

View file

@ -1,5 +1,5 @@
<h1>Puss in the Corner</h1>
0<p>
<p>
Numerica type. 1 deck. 1 redeal.
<h3>Object</h3>

22
html-src/rules/qc.html Normal file
View file

@ -0,0 +1,22 @@
<h1>Q.C.</h1>
<p>
Klondike type. 2 decks. 1 redeal.
<h3>Object</h3>
<p>
Move all cards to the foundations.
<h3>Rules</h3>
<p>
Cards are dealt to six piles of four cards each. Tableau
piles are built down by same suit. Only single cards can
be moved between tableau piles. Empty spaces are filled
immediately from the waste pile, but if the stock is empty,
any card can fill an empty tableau pile.
<p>
You can deal cards from the stock one at a time, and move
cards to the tableau and foundations. Only one redeal is
allowed.
<p>
The foundations are built up by same suit from ace to king.
The game is won if all cards are moved to the foundations.

View file

@ -0,0 +1,13 @@
<h1>Ripple Fan</h1>
<p>
Baker's Dozen type. 1 deck. Unlimited redeals.
<h3>Object</h3>
<p>
Move all cards to the foundations.
<h3>Quick Description</h3>
<p>
Like <a href="cruel.html">Cruel</a>,
but the aces aren't dealt to the foundations at
the start, and there's one more tableau pile.

View file

@ -18,6 +18,10 @@ but the cards can be moved like in
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.
<p>
Cards are dealt to seven piles of seven cards each, with three face-down
cards at the bottom of four piles, and all cards face-up in the other
three. The remaining three cards remain in the talon.
<p>
Cards in tableau are built down by suit.
Groups of cards can be moved regardless of sequence.
An empty pile in the tableau can be filled with a King or a group

View file

@ -10,7 +10,3 @@ Move all cards to the foundations.
<p>
Like <a href="scorpion.html">Scorpion</a>,
but with four extra free cells.
<h3>Rules</h3>
<p>
<i>[To be written]</i>

View file

@ -0,0 +1,13 @@
<h1>Scorpion II</h1>
<p>
Spider type. 1 deck. No redeal.
<h3>Object</h3>
<p>
Move all cards to the foundations.
<h3>Quick Description</h3>
<p>
Like <a href="scorpion.html">Scorpion</a>,
but only three of the tableau piles contain
face-down cards.

View file

@ -10,7 +10,3 @@ Move all cards to the foundations.
<p>
Like <a href="scorpion.html">Scorpion</a>,
but the piles build down by alternate color.
<h3>Rules</h3>
<p>
<i>[To be written]</i>

View file

@ -11,10 +11,6 @@ Move all cards to the foundations.
Just like <a href="klondike.html">Klondike</a>,
only with a different layout.
<h3>Rules</h3>
<p>
<i>[To be written]</i>
<h3>History</h3>
<p>
<i>Small Harp</i> and <i>Big Harp</i> are the German ways of playing

View file

@ -10,7 +10,3 @@ Move all cards to the foundations.
<p>
Like <a href="bakersdozen.html">Baker's Dozen</a>,
but the <em>Foundations</em> build up in alternate color.
<h3>Rules</h3>
<p>
<i>[To be written]</i>

View file

@ -0,0 +1,12 @@
<h1>Spanish Patience II</h1>
<p>
Baker's Dozen type. 1 deck. No redeal.
<h3>Object</h3>
<p>
Move all cards to the foundations.
<h3>Quick Description</h3>
<p>
Like <a href="bakersdozen.html">Baker's Dozen</a>,
but empty piles can be filled by any card.

View file

@ -0,0 +1,23 @@
<h1>Thieves of Egypt</h1>
<p>
Klondike type. 2 decks. 1 redeal.
<h3>Object</h3>
<p>
Move all cards to the foundations.
<h3>Rules</h3>
<p>
Cards are dealt to ten tableau piles, each with a different
number of cards, 1-3-5-7-9-10-8-6-4-2 from left to right.
Tableau piles are built down by alternate color, and only
kings can fill empty tableau piles. Any card or valid
sequence of cards can be moved between piles.
<p>
When there are no moves left, cards can be dealt from the
tableau one at a time, and moved to the tableau or foundations.
Only one redeal is allowed.
<p>
The foundations are built up by same suit from ace to king.
The game is won when all cards have been moved to the
foundations.

View file

@ -0,0 +1,25 @@
<h1>Trapdoor</h1>
<p>
Gypsy type. 2 decks. No redeal.
<h3>Object</h3>
<p>
Move all cards to the foundations.
<h3>Rules</h3>
<p>
Cards are dealt to eight tableau piles of three cards each.
Only the top card of each pile is face-up. Eight cards are
dealt to eight reserve piles, one below each tableau pile.
<p>
Tableau piles are built down by alternate color. Any card
or valid sequence of cards can be moved between piles. Cards
from the reserve can be moved to the tableau, but building on
the reserves is otherwise not allowed.
<p>
When there are no moves left, the card from each reserve can
be moved to the top of the associated tableau pile, and
eight new cards are dealt to the reserve.
<p>
The foundations are built up by same suit from ace to king.
The game is won if all cards are moved to the foundations.

View file

@ -0,0 +1,13 @@
<h1>Trapdoor Spider</h1>
<p>
Spider type. 2 decks. No redeal.
<h3>Object</h3>
<p>
Move all cards to the foundations.
<h3>Quick Description</h3>
<p>
Like <a href="trapdoor.html">Trapdoor</a>, but with a
layout, and tableau pile build style similar to
<a href="spider.html">Spider</a>.

View file

@ -0,0 +1,13 @@
<h1>Triple Scorpion</h1>
<p>
Spider type. 3 decks. No redeal.
<h3>Object</h3>
<p>
Move all cards to the foundations.
<h3>Quick Description</h3>
<p>
Like <a href="scorpion.html">Scorpion</a>,
but with three decks and thirteen piles of twelve cards
(five face-down cards in five piles).

View file

@ -0,0 +1,32 @@
<h1>Waterfall</h1>
<p>
Two-Deck game type. 2 decks. No redeal.
<h3>Object</h3>
<p>
Move all cards to the single foundation.
<h3>Rules</h3>
<p>
Cards are dealt to eight piles of four cards each.
Tableau piles are built down by rank, regardless of
suit. Any card or valid sequence of cards can be moved.
Any card or sequence can fill an empty space. If there
are no moves left, you can deal one card from the talon to
each tableau pile.
<p>
The single foundation is built up by same suit, starting
with the ace of clubs, through the king of clubs. Once
the king has been played, the ace of the next suit is the
next card to be played to the foundation. The sequence
of suits is as follows:
<ul>
<li>Clubs</li>
<li>Spades</li>
<li>Hearts</li>
<li>Diamonds</li>
</ul>
<p>
After the king of diamonds is played, the suit changes back
to clubs, and so on until all the cards have been moved
to the foundation, and the game is won.

View file

@ -1197,8 +1197,7 @@ registerGame(GameInfo(171, LadyBetty, "Lady Betty",
registerGame(GameInfo(355, Frog, "Frog",
GI.GT_NUMERICA, 2, 0, GI.SL_BALANCED))
registerGame(GameInfo(356, Fly, "Fly",
GI.GT_NUMERICA, 2, 0, GI.SL_BALANCED,
rules_filename='frog.html'))
GI.GT_NUMERICA, 2, 0, GI.SL_BALANCED))
registerGame(GameInfo(357, Gnat, "Gnat",
GI.GT_NUMERICA, 1, 0, GI.SL_BALANCED))
registerGame(GameInfo(378, Gloaming, "Gloaming",