mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Added McClellan game.
This commit is contained in:
parent
f4210f67d5
commit
c320312df9
3 changed files with 25 additions and 4 deletions
14
html-src/rules/mcclellan.html
Normal file
14
html-src/rules/mcclellan.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<h1>McClellan</h1>
|
||||
<p>
|
||||
Forty Thieves type. 2 decks. No redeal.
|
||||
|
||||
<h3>Object</h3>
|
||||
<p>
|
||||
Move all cards to the foundations.
|
||||
|
||||
<h3>Quick Description</h3>
|
||||
<p>
|
||||
Like <a href="fortythieves.html">Forty Thieves</a>,
|
||||
but with 8 tableau piles, with only the top cards face-up,
|
||||
and sequences of cards of the same suit can be moved
|
||||
together.
|
|
@ -549,7 +549,7 @@ class GI:
|
|||
tuple(range(22217, 22219))),
|
||||
('fc-2.14', tuple(range(811, 827))),
|
||||
('fc-2.15', tuple(range(827, 855)) + tuple(range(22400, 22407))),
|
||||
('dev', tuple(range(855, 882)))
|
||||
('dev', tuple(range(855, 883)))
|
||||
)
|
||||
|
||||
# deprecated - the correct way is to or a GI.GT_XXX flag
|
||||
|
|
|
@ -228,11 +228,11 @@ class Dieppe(Diplomat):
|
|||
|
||||
# ************************************************************************
|
||||
# * Little Napoleon
|
||||
# * McClellan
|
||||
# ************************************************************************
|
||||
|
||||
class LittleNapoleon(Diplomat):
|
||||
RowStack_Class = Spider_SS_RowStack
|
||||
Hint_Class = Spider_Hint
|
||||
class McClellan(Diplomat):
|
||||
RowStack_Class = SS_RowStack
|
||||
|
||||
def startGame(self):
|
||||
for i in range(3):
|
||||
|
@ -242,6 +242,11 @@ class LittleNapoleon(Diplomat):
|
|||
getQuickPlayScore = Game._getSpiderQuickPlayScore
|
||||
|
||||
|
||||
class LittleNapoleon(McClellan):
|
||||
RowStack_Class = Spider_SS_RowStack
|
||||
Hint_Class = Spider_Hint
|
||||
|
||||
|
||||
# ************************************************************************
|
||||
# * Twin Queens
|
||||
# ************************************************************************
|
||||
|
@ -279,3 +284,5 @@ registerGame(GameInfo(549, Wheatsheaf, "Wheatsheaf",
|
|||
GI.GT_FORTY_THIEVES, 2, 0, GI.SL_BALANCED))
|
||||
registerGame(GameInfo(563, TwinQueens, "Twin Queens",
|
||||
GI.GT_FORTY_THIEVES, 2, 1, GI.SL_MOSTLY_SKILL))
|
||||
registerGame(GameInfo(882, McClellan, "McClellan",
|
||||
GI.GT_FORTY_THIEVES, 2, 0, GI.SL_BALANCED))
|
||||
|
|
Loading…
Add table
Reference in a new issue