mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Added Malmaison game.
This commit is contained in:
parent
3f9853f7ec
commit
8b957386ce
4 changed files with 27 additions and 2 deletions
15
html-src/rules/malmaison.html
Normal file
15
html-src/rules/malmaison.html
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<h1>Malmaison</h1>
|
||||||
|
<p>
|
||||||
|
Forty Thieves type. 4 decks. No redeal.
|
||||||
|
|
||||||
|
<h3>Object</h3>
|
||||||
|
<p>
|
||||||
|
Move all cards to the foundations.
|
||||||
|
|
||||||
|
<h3>Quick Description</h3>
|
||||||
|
<p>
|
||||||
|
A four deck variation of <a href="josephine.html">Josephine</a>.
|
||||||
|
<p>
|
||||||
|
Like <a href="fortythieves.html">Forty Thieves</a>,
|
||||||
|
but with four decks and eighty dealt cards. Also,
|
||||||
|
sequences of cards may be moved together.
|
|
@ -1,6 +1,6 @@
|
||||||
<h1>Marie Rose</h1>
|
<h1>Marie Rose</h1>
|
||||||
<p>
|
<p>
|
||||||
Forty Thieves type. 2 decks. No redeal.
|
Forty Thieves type. 3 decks. No redeal.
|
||||||
|
|
||||||
<h3>Object</h3>
|
<h3>Object</h3>
|
||||||
<p>
|
<p>
|
||||||
|
|
|
@ -521,7 +521,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, 848)))
|
('fc-2.16', tuple(range(827, 849)))
|
||||||
)
|
)
|
||||||
|
|
||||||
# deprecated - the correct way is to or a GI.GT_XXX flag
|
# deprecated - the correct way is to or a GI.GT_XXX flag
|
||||||
|
|
|
@ -159,6 +159,7 @@ class FortyThieves(Game):
|
||||||
# * Carre Napoleon
|
# * Carre Napoleon
|
||||||
# * Josephine
|
# * Josephine
|
||||||
# * Marie Rose
|
# * Marie Rose
|
||||||
|
# * Malmaison
|
||||||
# * Big Courtyard
|
# * Big Courtyard
|
||||||
# * San Juan Hill
|
# * San Juan Hill
|
||||||
# * Famous Fifty
|
# * Famous Fifty
|
||||||
|
@ -242,6 +243,13 @@ class MarieRose(Josephine):
|
||||||
FortyThieves.createGame(self, rows=12, playcards=16, XCARDS=96)
|
FortyThieves.createGame(self, rows=12, playcards=16, XCARDS=96)
|
||||||
|
|
||||||
|
|
||||||
|
class Malmaison(MarieRose):
|
||||||
|
DEAL = (0, 8)
|
||||||
|
|
||||||
|
def createGame(self):
|
||||||
|
FortyThieves.createGame(self, rows=10, playcards=16, XCARDS=128)
|
||||||
|
|
||||||
|
|
||||||
class BigCourtyard(Courtyard):
|
class BigCourtyard(Courtyard):
|
||||||
def createGame(self):
|
def createGame(self):
|
||||||
FortyThieves.createGame(self, rows=12, playcards=16, XCARDS=96)
|
FortyThieves.createGame(self, rows=12, playcards=16, XCARDS=96)
|
||||||
|
@ -1466,3 +1474,5 @@ registerGame(GameInfo(838, TheSpark, "The Spark",
|
||||||
registerGame(GameInfo(847, Pluto, "Pluto",
|
registerGame(GameInfo(847, Pluto, "Pluto",
|
||||||
GI.GT_FORTY_THIEVES, 2, 0, GI.SL_MOSTLY_SKILL,
|
GI.GT_FORTY_THIEVES, 2, 0, GI.SL_MOSTLY_SKILL,
|
||||||
altnames=("Square")))
|
altnames=("Square")))
|
||||||
|
registerGame(GameInfo(848, Malmaison, "Malmaison",
|
||||||
|
GI.GT_FORTY_THIEVES, 4, 0, GI.SL_MOSTLY_SKILL))
|
||||||
|
|
Loading…
Add table
Reference in a new issue