mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Added Wading Pool game.
This commit is contained in:
parent
abd4b5327b
commit
bdab8cf8a6
3 changed files with 24 additions and 1 deletions
15
html-src/rules/wadingpool.html
Normal file
15
html-src/rules/wadingpool.html
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<h1>Wading Pool</h1>
|
||||||
|
<p>
|
||||||
|
One-deck game type. 1 deck. No redeal.
|
||||||
|
|
||||||
|
<h3>Object</h3>
|
||||||
|
<p>
|
||||||
|
Move all cards to the tableau, in four columns with complete sequences from
|
||||||
|
king to ace.
|
||||||
|
|
||||||
|
<h3>Quick Description</h3>
|
||||||
|
<p>
|
||||||
|
Like <a href="wavemotion.html">Wave Motion</a>,
|
||||||
|
but single cards can be moved between reserve piles.
|
||||||
|
Like the tableau piles, the reserve stacks are built
|
||||||
|
down by same suit.
|
|
@ -548,7 +548,7 @@ class GI:
|
||||||
tuple(range(22217, 22219))),
|
tuple(range(22217, 22219))),
|
||||||
('fc-2.14', tuple(range(811, 827))),
|
('fc-2.14', tuple(range(811, 827))),
|
||||||
('fc-2.15', tuple(range(827, 855)) + tuple(range(22400, 22407))),
|
('fc-2.15', tuple(range(827, 855)) + tuple(range(22400, 22407))),
|
||||||
('dev', tuple(range(855, 878)))
|
('dev', tuple(range(855, 879)))
|
||||||
)
|
)
|
||||||
|
|
||||||
# deprecated - the correct way is to or a GI.GT_XXX flag
|
# deprecated - the correct way is to or a GI.GT_XXX flag
|
||||||
|
|
|
@ -124,6 +124,7 @@ class Flourish(WaveMotion):
|
||||||
|
|
||||||
# ************************************************************************
|
# ************************************************************************
|
||||||
# * Flow
|
# * Flow
|
||||||
|
# * Wading Pool
|
||||||
# ************************************************************************
|
# ************************************************************************
|
||||||
|
|
||||||
class Flow_ReserveStack(SS_RowStack):
|
class Flow_ReserveStack(SS_RowStack):
|
||||||
|
@ -140,6 +141,11 @@ class Flow(WaveMotion):
|
||||||
WaveMotion.createGame(self, rows=8, reserves=8, playcards=14)
|
WaveMotion.createGame(self, rows=8, reserves=8, playcards=14)
|
||||||
|
|
||||||
|
|
||||||
|
class WadingPool(Flow):
|
||||||
|
Reserve_Class = StackWrapper(Flow_ReserveStack, base_rank=ANY_RANK,
|
||||||
|
max_move=1)
|
||||||
|
|
||||||
|
|
||||||
# register the game
|
# register the game
|
||||||
registerGame(GameInfo(314, WaveMotion, "Wave Motion",
|
registerGame(GameInfo(314, WaveMotion, "Wave Motion",
|
||||||
GI.GT_1DECK_TYPE | GI.GT_OPEN, 1, 0, GI.SL_MOSTLY_SKILL))
|
GI.GT_1DECK_TYPE | GI.GT_OPEN, 1, 0, GI.SL_MOSTLY_SKILL))
|
||||||
|
@ -148,3 +154,5 @@ registerGame(GameInfo(753, Flourish, "Flourish",
|
||||||
GI.SL_MOSTLY_SKILL))
|
GI.SL_MOSTLY_SKILL))
|
||||||
registerGame(GameInfo(841, Flow, "Flow",
|
registerGame(GameInfo(841, Flow, "Flow",
|
||||||
GI.GT_1DECK_TYPE | GI.GT_OPEN, 1, 0, GI.SL_MOSTLY_SKILL))
|
GI.GT_1DECK_TYPE | GI.GT_OPEN, 1, 0, GI.SL_MOSTLY_SKILL))
|
||||||
|
registerGame(GameInfo(878, WadingPool, "Wading Pool",
|
||||||
|
GI.GT_1DECK_TYPE | GI.GT_OPEN, 1, 0, GI.SL_MOSTLY_SKILL))
|
||||||
|
|
Loading…
Add table
Reference in a new issue