diff --git a/html-src/rules/relaxedcruel.html b/html-src/rules/relaxedcruel.html new file mode 100644 index 00000000..1df20a68 --- /dev/null +++ b/html-src/rules/relaxedcruel.html @@ -0,0 +1,12 @@ +
+Baker's Dozen type. 1 deck. Unlimited redeals. + +
+Move all cards to the foundations. + +
+Just like Cruel, +but the number of cards you can move as a sequence is not restricted. diff --git a/pysollib/gamedb.py b/pysollib/gamedb.py index b46a08fc..f76b1092 100644 --- a/pysollib/gamedb.py +++ b/pysollib/gamedb.py @@ -594,7 +594,7 @@ class GI: tuple(range(19000, 19012)) + tuple(range(22303, 22311)) + tuple(range(22353, 22361))), ('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,)), ) diff --git a/pysollib/games/bakersdozen.py b/pysollib/games/bakersdozen.py index 6d473827..e0e230ef 100644 --- a/pysollib/games/bakersdozen.py +++ b/pysollib/games/bakersdozen.py @@ -225,6 +225,7 @@ class Vineyard(CastlesInSpain): # ************************************************************************ # * Cruel +# * Relaxed Cruel # * Unusual # ************************************************************************ @@ -310,6 +311,10 @@ class Cruel(CastlesInSpain): shallHighlightMatch = Game._shallHighlightMatch_SS +class RelaxedCruel(Cruel): + RowStack_Class = StackWrapper(SS_RowStack, base_rank=NO_RANK) + + class Unusual(Cruel): def createGame(self): @@ -453,3 +458,6 @@ registerGame(GameInfo(876, Vineyard, "Vineyard", GI.SL_MOSTLY_SKILL)) registerGame(GameInfo(907, Martha, "Stewart", 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))