mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Added Taking Silk game.
This commit is contained in:
parent
5bbd2cc462
commit
007f930066
3 changed files with 20 additions and 1 deletions
12
html-src/rules/takingsilk.html
Normal file
12
html-src/rules/takingsilk.html
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<h1>Taking Silk</h1>
|
||||||
|
<p>
|
||||||
|
Klondike type. 2 decks. No redeal.
|
||||||
|
|
||||||
|
<h3>Object</h3>
|
||||||
|
<p>
|
||||||
|
Move all cards to the foundations.
|
||||||
|
|
||||||
|
<h3>Quick Description</h3>
|
||||||
|
<p>
|
||||||
|
Just like <a href="thirtysix.html">Thirty Six</a>,
|
||||||
|
but with two decks.
|
|
@ -551,7 +551,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, 893)))
|
('dev', tuple(range(855, 894)))
|
||||||
)
|
)
|
||||||
|
|
||||||
# deprecated - the correct way is to or a GI.GT_XXX flag
|
# deprecated - the correct way is to or a GI.GT_XXX flag
|
||||||
|
|
|
@ -907,6 +907,7 @@ class Lanes(Klondike):
|
||||||
# ************************************************************************
|
# ************************************************************************
|
||||||
# * Thirty Six
|
# * Thirty Six
|
||||||
# * Six By Six
|
# * Six By Six
|
||||||
|
# * Taking Silk
|
||||||
# ************************************************************************
|
# ************************************************************************
|
||||||
|
|
||||||
class ThirtySix(Klondike):
|
class ThirtySix(Klondike):
|
||||||
|
@ -956,6 +957,10 @@ class SixBySix(ThirtySix):
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
||||||
|
class TakingSilk(ThirtySix):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
# ************************************************************************
|
# ************************************************************************
|
||||||
# * Q.C.
|
# * Q.C.
|
||||||
# ************************************************************************
|
# ************************************************************************
|
||||||
|
@ -1677,3 +1682,5 @@ registerGame(GameInfo(873, AgnesTwo, "Agnes Two",
|
||||||
GI.GT_RAGLAN, 2, 0, GI.SL_BALANCED))
|
GI.GT_RAGLAN, 2, 0, GI.SL_BALANCED))
|
||||||
registerGame(GameInfo(888, SixBySix, "Six by Six",
|
registerGame(GameInfo(888, SixBySix, "Six by Six",
|
||||||
GI.GT_1DECK_TYPE, 1, 0, GI.SL_BALANCED))
|
GI.GT_1DECK_TYPE, 1, 0, GI.SL_BALANCED))
|
||||||
|
registerGame(GameInfo(893, TakingSilk, "Taking Silk",
|
||||||
|
GI.GT_KLONDIKE, 2, 0, GI.SL_BALANCED))
|
||||||
|
|
Loading…
Add table
Reference in a new issue