mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Fixed naming of Osmosis type games to be more accurate.
This commit is contained in:
parent
f5dcfe2979
commit
2225c68b74
13 changed files with 129 additions and 43 deletions
|
@ -6,16 +6,7 @@ One-Deck game type. 1 deck. Unlimited redeals.
|
|||
<p>
|
||||
Move all cards to the foundations.
|
||||
|
||||
<h3>Rules</h3>
|
||||
<h3>Quick Description</h3>
|
||||
<p>
|
||||
A single card is dealt to the first foundation, and the remaining
|
||||
cards are dealt three at a time from the stock. On this first
|
||||
foundation, any card of the same suit as the first card can be played.
|
||||
<p>
|
||||
Lower foundations are started with a card of the same rank as the
|
||||
first card. Subsequent cards played to these foundations must be the
|
||||
same suit as that first card played to it, and have a rank that matches
|
||||
that of a card that's already been played to the foundation directly
|
||||
above it.
|
||||
<p>
|
||||
The game is won if all cards are moved to the foundations.
|
||||
Just like <a href="osmosis.html">Osmosis</a>,
|
||||
but there is no tableau.
|
||||
|
|
20
html-src/rules/osmium.html
Normal file
20
html-src/rules/osmium.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<h1>Osmium</h1>
|
||||
<p>
|
||||
One-Deck game type. 1 deck. Unlimited redeals.
|
||||
|
||||
<h3>Object</h3>
|
||||
<p>
|
||||
Move all cards to the foundations.
|
||||
|
||||
<h3>Quick Description</h3>
|
||||
<p>
|
||||
Just like <a href="osmosis.html">Osmosis</a>,
|
||||
but all four foundations must be built in the same
|
||||
sequence of ranks. Additionally, the order of the
|
||||
foundations doesn't matter and cards are dealt one
|
||||
at a time from the stock.
|
||||
|
||||
<h3>Notes</h3>
|
||||
<p>
|
||||
Osmium is based on an altered version of the Osmosis
|
||||
rules used in older versions of PySolFC.
|
13
html-src/rules/osmiumii.html
Normal file
13
html-src/rules/osmiumii.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<h1>Osmium II</h1>
|
||||
<p>
|
||||
One-Deck game type. 1 deck. Unlimited redeals.
|
||||
|
||||
<h3>Object</h3>
|
||||
<p>
|
||||
Move all cards to the foundations.
|
||||
|
||||
<h3>Quick Description</h3>
|
||||
<p>
|
||||
Just like <a href="osmium.html">Osmium</a>,
|
||||
but the rows are dealt face-up, similar to
|
||||
<a href="peek.html">Peek</a>.
|
|
@ -8,4 +8,16 @@ Move all cards to the foundations.
|
|||
|
||||
<h3>Rules</h3>
|
||||
<p>
|
||||
<i>[To be written]</i>
|
||||
A single card is dealt to the first foundation, and four cards are dealt
|
||||
to each of four tableau rows, with only the top card visible. No building
|
||||
in this tableau is allowed. The remaining cards are dealt three at a time
|
||||
from the stock. On this first foundation, any card of the same suit as
|
||||
the first card can be played.
|
||||
<p>
|
||||
Lower foundations are started with a card of the same rank as the
|
||||
first card. Subsequent cards played to these foundations must be the
|
||||
same suit as that first card played to it, and have a rank that matches
|
||||
that of a card that's already been played to the foundation directly
|
||||
above it.
|
||||
<p>
|
||||
The game is won if all cards are moved to the foundations.
|
||||
|
|
|
@ -10,7 +10,3 @@ Move all cards to the foundations.
|
|||
<p>
|
||||
Just like <a href="osmosis.html">Osmosis</a>,
|
||||
but the rows are dealt face-up.
|
||||
|
||||
<h3>Rules</h3>
|
||||
<p>
|
||||
<i>[To be written]</i>
|
||||
|
|
|
@ -3039,6 +3039,9 @@ msgstr ""
|
|||
msgid "Open Jumbo"
|
||||
msgstr "Öffne Jumbo"
|
||||
|
||||
msgid "Open Osmium"
|
||||
msgstr ""
|
||||
|
||||
msgid "Open Peek"
|
||||
msgstr "Öffne heimlichen Blick"
|
||||
|
||||
|
@ -3060,6 +3063,12 @@ msgstr "Reihenfolge"
|
|||
msgid "Order of Precedence"
|
||||
msgstr ""
|
||||
|
||||
msgid "Osmium"
|
||||
msgstr ""
|
||||
|
||||
msgid "Osmium II"
|
||||
msgstr ""
|
||||
|
||||
msgid "Osmosis"
|
||||
msgstr "Osmose"
|
||||
|
||||
|
|
|
@ -3000,6 +3000,9 @@ msgstr ""
|
|||
msgid "Open Jumbo"
|
||||
msgstr ""
|
||||
|
||||
msgid "Open Osmium"
|
||||
msgstr ""
|
||||
|
||||
msgid "Open Peek"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3021,6 +3024,12 @@ msgstr ""
|
|||
msgid "Order of Precedence"
|
||||
msgstr ""
|
||||
|
||||
msgid "Osmium"
|
||||
msgstr ""
|
||||
|
||||
msgid "Osmium II"
|
||||
msgstr ""
|
||||
|
||||
msgid "Osmosis"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -3003,6 +3003,9 @@ msgstr ""
|
|||
msgid "Open Jumbo"
|
||||
msgstr ""
|
||||
|
||||
msgid "Open Osmium"
|
||||
msgstr ""
|
||||
|
||||
msgid "Open Peek"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3024,6 +3027,12 @@ msgstr ""
|
|||
msgid "Order of Precedence"
|
||||
msgstr ""
|
||||
|
||||
msgid "Osmium"
|
||||
msgstr ""
|
||||
|
||||
msgid "Osmium II"
|
||||
msgstr ""
|
||||
|
||||
msgid "Osmosis"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -3005,6 +3005,9 @@ msgstr ""
|
|||
msgid "Open Jumbo"
|
||||
msgstr ""
|
||||
|
||||
msgid "Open Osmium"
|
||||
msgstr ""
|
||||
|
||||
msgid "Open Peek"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3026,6 +3029,12 @@ msgstr ""
|
|||
msgid "Order of Precedence"
|
||||
msgstr ""
|
||||
|
||||
msgid "Osmium"
|
||||
msgstr ""
|
||||
|
||||
msgid "Osmium II"
|
||||
msgstr ""
|
||||
|
||||
msgid "Osmosis"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -3011,6 +3011,9 @@ msgstr ""
|
|||
msgid "Open Jumbo"
|
||||
msgstr ""
|
||||
|
||||
msgid "Open Osmium"
|
||||
msgstr ""
|
||||
|
||||
msgid "Open Peek"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3032,6 +3035,12 @@ msgstr ""
|
|||
msgid "Order of Precedence"
|
||||
msgstr ""
|
||||
|
||||
msgid "Osmium"
|
||||
msgstr ""
|
||||
|
||||
msgid "Osmium II"
|
||||
msgstr ""
|
||||
|
||||
msgid "Osmosis"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -3044,6 +3044,9 @@ msgstr ""
|
|||
msgid "Open Jumbo"
|
||||
msgstr "Открытый гигант"
|
||||
|
||||
msgid "Open Osmium"
|
||||
msgstr ""
|
||||
|
||||
msgid "Open Peek"
|
||||
msgstr "Открытый взгляд"
|
||||
|
||||
|
@ -3065,6 +3068,12 @@ msgstr "Порядок"
|
|||
msgid "Order of Precedence"
|
||||
msgstr ""
|
||||
|
||||
msgid "Osmium"
|
||||
msgstr ""
|
||||
|
||||
msgid "Osmium II"
|
||||
msgstr ""
|
||||
|
||||
msgid "Osmosis"
|
||||
msgstr "Осмос"
|
||||
|
||||
|
|
|
@ -322,11 +322,11 @@ class GI:
|
|||
# Saratoga, Thieves, Treize, Valentine, Wall
|
||||
("Gnome AisleRiot", (
|
||||
1, 2, 8, 9, 11, 12, 13, 19, 24, 27, 29, 31, 33, 34, 35, 36,
|
||||
38, 40, 41, 42, 43, 45, 48, 58, 59, 60, 65, 67, 89, 91, 92,
|
||||
93, 94, 95, 96, 97, 100, 104, 105, 111, 112, 113, 130, 135,
|
||||
139, 144, 146, 147, 148, 200, 201, 206, 224, 225, 229, 230,
|
||||
233, 257, 258, 280, 281, 282, 283, 284, 334, 384, 495, 551,
|
||||
552, 553, 572, 593, 674, 700, 737, 772, 810, 819, 824, 829,
|
||||
38, 40, 41, 42, 43, 45, 48, 58, 65, 67, 89, 91, 92, 93, 94,
|
||||
95, 96, 97, 100, 104, 105, 111, 112, 113, 130, 135, 139, 144,
|
||||
146, 147, 148, 200, 201, 206, 224, 225, 229, 230, 233, 257,
|
||||
258, 280, 281, 282, 283, 284, 334, 384, 495, 551, 552, 553,
|
||||
572, 593, 674, 700, 715, 716, 737, 772, 810, 819, 824, 829,
|
||||
22231,
|
||||
)),
|
||||
|
||||
|
@ -365,11 +365,11 @@ class GI:
|
|||
# Six By Six
|
||||
("Solitude for Windows", (
|
||||
2, 8, 11, 13, 19, 24, 25, 29, 30, 31, 33, 34, 36, 38, 42,
|
||||
43, 45, 48, 50, 53, 56, 57, 58, 59, 60, 62, 64, 67, 69, 71,
|
||||
86, 87, 88, 89, 95, 96, 97, 98, 100, 104, 105, 107, 109,
|
||||
112, 125, 128, 133, 134, 135, 139, 146, 147, 171, 172, 173,
|
||||
221, 222, 224, 228, 233, 234, 235, 256, 257, 258, 282, 314,
|
||||
327, 330, 355, 356, 398, 406, 414, 418, 434, 437, 484, 593,
|
||||
43, 45, 48, 50, 53, 56, 57, 58, 62, 64, 67, 69, 71, 86, 87,
|
||||
88, 89, 95, 96, 97, 98, 100, 104, 105, 107, 109, 112, 125,
|
||||
128, 133, 134, 135, 139, 146, 147, 171, 172, 173, 221, 222,
|
||||
224, 228, 233, 234, 235, 256, 257, 258, 282, 314, 327, 330,
|
||||
355, 356, 398, 406, 414, 418, 434, 437, 484, 593, 715, 716,
|
||||
737, 751, 805, 830, 845, 847, 901, 903
|
||||
)),
|
||||
|
||||
|
@ -398,20 +398,20 @@ class GI:
|
|||
# Napoleon's Guards, Nationale, Oasis, Opera, Ordered Suits,
|
||||
# Osmotic FreeCell, Pair FreeCell, Pairs 2, Petal,
|
||||
# Reserved Thirteens, Sea Spider, Sept Piles 0, Short Solitaire,
|
||||
# Simple Alternations, Step By Step, Strategy 7,
|
||||
# Simple Alternations, Smart Osmosis, Step By Step, Strategy 7,
|
||||
# Stripped FreeCell, Tarantula, Triple Dispute, Trusty Twenty,
|
||||
# Two Ways 3, Up Or Down, Versailles, Vertical FreeCell,
|
||||
# Wasp Baby, Yukon FreeCell
|
||||
("XM Solitaire", (
|
||||
2, 8, 9, 13, 15, 18, 19, 20, 29, 30, 31, 34, 36, 38, 41, 42,
|
||||
45, 46, 50, 53, 54, 56, 57, 59, 64, 77, 78, 86, 96, 97, 98,
|
||||
105, 110, 112, 124, 145, 220, 222, 223, 224, 228, 231, 233,
|
||||
234, 235, 236, 257, 258, 264, 265, 267, 270, 271, 290, 291,
|
||||
292, 303, 309, 314, 318, 320, 322, 324, 325, 336, 338, 341,
|
||||
363, 364, 372, 376, 383, 384, 385, 386, 390, 391, 393, 398,
|
||||
405, 415, 416, 425, 451, 453, 461, 464, 466, 467, 476, 480,
|
||||
484, 511, 512, 516, 561, 610, 625, 629, 631, 638, 641, 647,
|
||||
650, 655, 678, 734, 751, 784, 825, 829, 834, 837, 844, 901,
|
||||
45, 46, 50, 53, 54, 56, 57, 64, 77, 78, 86, 96, 97, 98, 105,
|
||||
110, 112, 124, 145, 220, 222, 223, 224, 228, 231, 233, 234,
|
||||
235, 236, 257, 258, 264, 265, 267, 270, 271, 290, 291, 292,
|
||||
303, 309, 314, 318, 320, 322, 324, 325, 336, 338, 341, 363,
|
||||
364, 372, 376, 383, 384, 385, 386, 390, 391, 393, 398, 405,
|
||||
415, 416, 425, 451, 453, 461, 464, 466, 467, 476, 480, 484,
|
||||
511, 512, 516, 561, 610, 625, 629, 631, 638, 641, 647, 650,
|
||||
655, 678, 734, 751, 784, 825, 829, 834, 837, 844, 901,
|
||||
)),
|
||||
|
||||
# xpat2 1.06 (we have 14 out of 16 games)
|
||||
|
|
|
@ -340,11 +340,11 @@ class Bridesmaids(Game):
|
|||
|
||||
|
||||
# register the game
|
||||
registerGame(GameInfo(59, Osmosis, "Osmosis",
|
||||
registerGame(GameInfo(59, Osmosis, "Osmium",
|
||||
GI.GT_1DECK_TYPE, 1, -1, GI.SL_MOSTLY_LUCK))
|
||||
registerGame(GameInfo(60, Peek, "Peek",
|
||||
registerGame(GameInfo(60, Peek, "Osmium II",
|
||||
GI.GT_1DECK_TYPE, 1, -1, GI.SL_MOSTLY_LUCK))
|
||||
registerGame(GameInfo(298, OpenPeek, "Open Peek",
|
||||
registerGame(GameInfo(298, OpenPeek, "Open Osmium",
|
||||
GI.GT_1DECK_TYPE | GI.GT_OPEN | GI.GT_ORIGINAL, 1, 0,
|
||||
GI.SL_MOSTLY_SKILL))
|
||||
registerGame(GameInfo(370, Genesis, "Genesis",
|
||||
|
@ -355,8 +355,8 @@ registerGame(GameInfo(371, GenesisPlus, "Genesis +",
|
|||
GI.SL_MOSTLY_SKILL))
|
||||
registerGame(GameInfo(409, Bridesmaids, "Bridesmaids",
|
||||
GI.GT_1DECK_TYPE, 1, -1, GI.SL_MOSTLY_LUCK))
|
||||
registerGame(GameInfo(715, OsmosisII, "Treasure Trove",
|
||||
GI.GT_1DECK_TYPE, 1, -1, GI.SL_MOSTLY_LUCK))
|
||||
registerGame(GameInfo(716, PeekII, "Peek II",
|
||||
registerGame(GameInfo(715, OsmosisII, "Osmosis",
|
||||
GI.GT_1DECK_TYPE, 1, -1, GI.SL_MOSTLY_LUCK,
|
||||
rules_filename='treasuretrove.html'))
|
||||
altnames=("Treasure Trove",)))
|
||||
registerGame(GameInfo(716, PeekII, "Peek",
|
||||
GI.GT_1DECK_TYPE, 1, -1, GI.SL_MOSTLY_LUCK))
|
||||
|
|
Loading…
Add table
Reference in a new issue