mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Added Relaxed Raglan variant.
This commit is contained in:
parent
bc1ec96857
commit
1ac1fd0452
4 changed files with 34 additions and 1 deletions
13
html-src/rules/brigade.html
Normal file
13
html-src/rules/brigade.html
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<h1>Brigade</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="raglan.html">Raglan</a>, but with a tableau
|
||||||
|
consisting of seven piles of five cards each, and 13 cards
|
||||||
|
in the reserves.
|
12
html-src/rules/relaxedraglan.html
Normal file
12
html-src/rules/relaxedraglan.html
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<h1>Relaxed Raglan</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="raglan.html">Raglan</a>, but sequences of
|
||||||
|
cards in the tableau can be moved together.
|
|
@ -527,7 +527,7 @@ class GI:
|
||||||
('fc-2.12', tuple(range(774, 811)) + (16681,) +
|
('fc-2.12', tuple(range(774, 811)) + (16681,) +
|
||||||
tuple(range(22217, 22219))),
|
tuple(range(22217, 22219))),
|
||||||
('fc-2.14', tuple(range(811, 827))),
|
('fc-2.14', tuple(range(811, 827))),
|
||||||
('fc-2.16', tuple(range(827, 849)) + tuple(range(22400, 22407)))
|
('fc-2.16', tuple(range(827, 850)) + tuple(range(22400, 22407)))
|
||||||
)
|
)
|
||||||
|
|
||||||
# deprecated - the correct way is to or a GI.GT_XXX flag
|
# deprecated - the correct way is to or a GI.GT_XXX flag
|
||||||
|
|
|
@ -560,6 +560,7 @@ class FlowerGarden(Stonewall):
|
||||||
# * King Albert
|
# * King Albert
|
||||||
# * Raglan
|
# * Raglan
|
||||||
# * Brigade
|
# * Brigade
|
||||||
|
# * Relaxed Raglan
|
||||||
# * Queen Victoria
|
# * Queen Victoria
|
||||||
# ************************************************************************
|
# ************************************************************************
|
||||||
|
|
||||||
|
@ -621,6 +622,10 @@ class Brigade(Raglan):
|
||||||
shallHighlightMatch = Game._shallHighlightMatch_RK
|
shallHighlightMatch = Game._shallHighlightMatch_RK
|
||||||
|
|
||||||
|
|
||||||
|
class RelaxedRaglan(Raglan):
|
||||||
|
RowStack_Class = AC_RowStack
|
||||||
|
|
||||||
|
|
||||||
class QueenVictoria(KingAlbert):
|
class QueenVictoria(KingAlbert):
|
||||||
RowStack_Class = AC_RowStack
|
RowStack_Class = AC_RowStack
|
||||||
|
|
||||||
|
@ -1539,3 +1544,6 @@ registerGame(GameInfo(726, EightSages, "Eight Sages",
|
||||||
GI.GT_KLONDIKE, 2, 1, GI.SL_MOSTLY_LUCK))
|
GI.GT_KLONDIKE, 2, 1, GI.SL_MOSTLY_LUCK))
|
||||||
registerGame(GameInfo(821, Trigon, "Trigon",
|
registerGame(GameInfo(821, Trigon, "Trigon",
|
||||||
GI.GT_KLONDIKE, 1, -1, GI.SL_BALANCED))
|
GI.GT_KLONDIKE, 1, -1, GI.SL_BALANCED))
|
||||||
|
registerGame(GameInfo(849, RelaxedRaglan, "Relaxed Raglan",
|
||||||
|
GI.GT_RAGLAN | GI.GT_RELAXED | GI.GT_OPEN, 1, 0,
|
||||||
|
GI.SL_MOSTLY_SKILL))
|
||||||
|
|
Loading…
Add table
Reference in a new issue