mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Added Wildflower game.
This commit is contained in:
parent
2f464fe54b
commit
52f05e3aa8
3 changed files with 22 additions and 2 deletions
12
html-src/rules/wildflower.html
Normal file
12
html-src/rules/wildflower.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<h1>Wildflower</h1>
|
||||
<p>
|
||||
Raglan type. 1 deck. No redeal.
|
||||
|
||||
<h3>Object</h3>
|
||||
<p>
|
||||
Move all cards to the foundations.
|
||||
|
||||
<h3>Quick Description</h3>
|
||||
<p>
|
||||
Like <a href="flowergarden.html">Flower Garden</a>, but sequences
|
||||
of cards of the same suit can be moved as a unit.
|
|
@ -545,7 +545,7 @@ class GI:
|
|||
tuple(range(22217, 22219))),
|
||||
('fc-2.14', tuple(range(811, 827))),
|
||||
('fc-2.15', tuple(range(827, 855)) + tuple(range(22400, 22407))),
|
||||
('dev', tuple(range(855, 861)))
|
||||
('dev', tuple(range(855, 862)))
|
||||
)
|
||||
|
||||
# deprecated - the correct way is to or a GI.GT_XXX flag
|
||||
|
|
|
@ -48,6 +48,7 @@ from pysollib.stack import \
|
|||
SC_RowStack, \
|
||||
SS_FoundationStack, \
|
||||
SS_RowStack, \
|
||||
Spider_SS_RowStack, \
|
||||
Stack, \
|
||||
StackWrapper, \
|
||||
SuperMoveAC_RowStack, \
|
||||
|
@ -526,6 +527,7 @@ class OpenJumbo(Jumbo):
|
|||
# ************************************************************************
|
||||
# * Stonewall
|
||||
# * Flower Garden
|
||||
# * Wildflower
|
||||
# ************************************************************************
|
||||
|
||||
class Stonewall(Klondike):
|
||||
|
@ -565,6 +567,10 @@ class FlowerGarden(Stonewall):
|
|||
shallHighlightMatch = Game._shallHighlightMatch_RK
|
||||
|
||||
|
||||
class Wildflower(FlowerGarden):
|
||||
RowStack_Class = Spider_SS_RowStack
|
||||
|
||||
|
||||
# ************************************************************************
|
||||
# * King Albert
|
||||
# * Raglan
|
||||
|
@ -1513,7 +1519,7 @@ registerGame(GameInfo(221, Stonewall, "Stonewall",
|
|||
GI.GT_RAGLAN, 1, 0, GI.SL_MOSTLY_LUCK))
|
||||
registerGame(GameInfo(222, FlowerGarden, "Flower Garden",
|
||||
GI.GT_RAGLAN | GI.GT_OPEN, 1, 0, GI.SL_MOSTLY_SKILL,
|
||||
altnames=("The Bouquet", "The Garden",)))
|
||||
altnames=("The Bouquet", "The Garden", "Le Parterre")))
|
||||
registerGame(GameInfo(233, KingAlbert, "King Albert",
|
||||
GI.GT_RAGLAN | GI.GT_OPEN, 1, 0, GI.SL_MOSTLY_SKILL,
|
||||
altnames=("Idiot's Delight",)))
|
||||
|
@ -1623,3 +1629,5 @@ registerGame(GameInfo(852, Guardian, "Guardian",
|
|||
registerGame(GameInfo(855, HalfKlondike, "Half Klondike",
|
||||
GI.GT_KLONDIKE | GI.GT_STRIPPED, 1, -1, GI.SL_BALANCED,
|
||||
suits=(1, 2)))
|
||||
registerGame(GameInfo(861, Wildflower, "Wildflower",
|
||||
GI.GT_RAGLAN | GI.GT_OPEN, 1, 0, GI.SL_MOSTLY_SKILL))
|
||||
|
|
Loading…
Add table
Reference in a new issue