mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Added Pluto game.
This commit is contained in:
parent
46bda40762
commit
e0c9fe7652
4 changed files with 36 additions and 8 deletions
|
@ -9,8 +9,6 @@ Move all cards to the foundations.
|
|||
<h3>Quick Description</h3>
|
||||
<p>
|
||||
Like <a href="fortythieves.html">Forty Thieves</a>,
|
||||
but the foundations build up from Two to Ace.
|
||||
|
||||
<h3>Rules</h3>
|
||||
<p>
|
||||
<i>[To be written]</i>
|
||||
but the foundations build up from Two to Ace. Only one
|
||||
card is dealt to each tableau pile at the start of the
|
||||
game, and the deuces are dealt to the foundations.
|
||||
|
|
14
html-src/rules/pluto.html
Normal file
14
html-src/rules/pluto.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<h1>Pluto</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="deuces.html">Deuces</a>,
|
||||
but there are twelve tableau piles, and the
|
||||
twos aren't dealt to the foundation at the
|
||||
start.
|
|
@ -354,7 +354,7 @@ class GI:
|
|||
|
||||
# Solitude for Windows
|
||||
# still missing:
|
||||
# Bowling (Sackson version), Four Kingdoms, Icicles, Pluto,
|
||||
# Bowling (Sackson version), Four Kingdoms, Icicles,
|
||||
# Six By Six
|
||||
("Solitude for Windows", (
|
||||
2, 8, 11, 13, 19, 24, 25, 29, 30, 31, 33, 34, 36, 38, 42,
|
||||
|
@ -363,7 +363,7 @@ class GI:
|
|||
112, 125, 128, 133, 134, 135, 139, 146, 147, 171, 172, 173,
|
||||
221, 222, 224, 228, 233, 234, 235, 256, 257, 258, 282, 314,
|
||||
327, 330, 355, 356, 398, 406, 414, 418, 434, 437, 484, 593,
|
||||
737, 751, 805, 830, 845, 901, 903
|
||||
737, 751, 805, 830, 845, 847, 901, 903
|
||||
)),
|
||||
|
||||
# XM Solitaire
|
||||
|
@ -520,7 +520,7 @@ class GI:
|
|||
('fc-2.12', tuple(range(774, 811)) + (16681,) +
|
||||
tuple(range(22217, 22219))),
|
||||
('fc-2.14', tuple(range(811, 827))),
|
||||
('fc-2.16', tuple(range(827, 847)))
|
||||
('fc-2.16', tuple(range(827, 848)))
|
||||
)
|
||||
|
||||
# deprecated - the correct way is to or a GI.GT_XXX flag
|
||||
|
|
|
@ -288,6 +288,7 @@ class EightyThieves(FortyThieves):
|
|||
|
||||
# ************************************************************************
|
||||
# * Deuces
|
||||
# * Pluto
|
||||
# ************************************************************************
|
||||
|
||||
class Deuces(FortyThieves):
|
||||
|
@ -309,6 +310,18 @@ class Deuces(FortyThieves):
|
|||
shallHighlightMatch = Game._shallHighlightMatch_SSW
|
||||
|
||||
|
||||
class Pluto(Deuces):
|
||||
def createGame(self):
|
||||
FortyThieves.createGame(self, rows=12)
|
||||
|
||||
def _shuffleHook(self, cards):
|
||||
return FortyThieves._shuffleHook(self, cards)
|
||||
|
||||
def startGame(self):
|
||||
self.startDealSample()
|
||||
FortyThieves.startGame(self)
|
||||
|
||||
|
||||
# ************************************************************************
|
||||
# * Corona
|
||||
# * Quadrangle
|
||||
|
@ -1450,3 +1463,6 @@ registerGame(GameInfo(837, SingleSpark, "Single Spark",
|
|||
altnames=("Simple Spark")))
|
||||
registerGame(GameInfo(838, TheSpark, "The Spark",
|
||||
GI.GT_FORTY_THIEVES, 2, 0, GI.SL_MOSTLY_LUCK))
|
||||
registerGame(GameInfo(847, Pluto, "Pluto",
|
||||
GI.GT_FORTY_THIEVES, 2, 0, GI.SL_MOSTLY_SKILL,
|
||||
altnames=("Square")))
|
||||
|
|
Loading…
Add table
Reference in a new issue