mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-15 02:54:09 -04:00
Add Relaxed Cruel game
This commit is contained in:
parent
f799093e35
commit
81150b4681
3 changed files with 21 additions and 1 deletions
12
html-src/rules/relaxedcruel.html
Normal file
12
html-src/rules/relaxedcruel.html
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<h1>Relaxed Cruel</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>
|
||||||
|
Just like <a href="cruel.html">Cruel</a>,
|
||||||
|
but the number of cards you can move as a sequence is not restricted.
|
|
@ -594,7 +594,7 @@ class GI:
|
||||||
tuple(range(19000, 19012)) + tuple(range(22303, 22311)) +
|
tuple(range(19000, 19012)) + tuple(range(22303, 22311)) +
|
||||||
tuple(range(22353, 22361))),
|
tuple(range(22353, 22361))),
|
||||||
('fc-3.1', tuple(range(961, 971))),
|
('fc-3.1', tuple(range(961, 971))),
|
||||||
('dev', tuple(range(971, 977)) + tuple(range(18005, 18007)) +
|
('dev', tuple(range(971, 978)) + tuple(range(18005, 18007)) +
|
||||||
(44, 526,)),
|
(44, 526,)),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -225,6 +225,7 @@ class Vineyard(CastlesInSpain):
|
||||||
|
|
||||||
# ************************************************************************
|
# ************************************************************************
|
||||||
# * Cruel
|
# * Cruel
|
||||||
|
# * Relaxed Cruel
|
||||||
# * Unusual
|
# * Unusual
|
||||||
# ************************************************************************
|
# ************************************************************************
|
||||||
|
|
||||||
|
@ -310,6 +311,10 @@ class Cruel(CastlesInSpain):
|
||||||
shallHighlightMatch = Game._shallHighlightMatch_SS
|
shallHighlightMatch = Game._shallHighlightMatch_SS
|
||||||
|
|
||||||
|
|
||||||
|
class RelaxedCruel(Cruel):
|
||||||
|
RowStack_Class = StackWrapper(SS_RowStack, base_rank=NO_RANK)
|
||||||
|
|
||||||
|
|
||||||
class Unusual(Cruel):
|
class Unusual(Cruel):
|
||||||
|
|
||||||
def createGame(self):
|
def createGame(self):
|
||||||
|
@ -453,3 +458,6 @@ registerGame(GameInfo(876, Vineyard, "Vineyard",
|
||||||
GI.SL_MOSTLY_SKILL))
|
GI.SL_MOSTLY_SKILL))
|
||||||
registerGame(GameInfo(907, Martha, "Stewart",
|
registerGame(GameInfo(907, Martha, "Stewart",
|
||||||
GI.GT_BAKERS_DOZEN, 1, 0, GI.SL_BALANCED))
|
GI.GT_BAKERS_DOZEN, 1, 0, GI.SL_BALANCED))
|
||||||
|
registerGame(GameInfo(977, RelaxedCruel, "Relaxed Cruel",
|
||||||
|
GI.GT_BAKERS_DOZEN | GI.GT_OPEN | GI.GT_RELAXED, 1, -1,
|
||||||
|
GI.SL_BALANCED))
|
||||||
|
|
Loading…
Add table
Reference in a new issue