mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Added Yeast Dough game.
This commit is contained in:
parent
99f19d17d1
commit
4aac672ebd
3 changed files with 26 additions and 3 deletions
12
html-src/rules/yeastdough.html
Normal file
12
html-src/rules/yeastdough.html
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<h1>Yeast Dough</h1>
|
||||||
|
<p>
|
||||||
|
Gypsy type. 2 decks. No redeal.
|
||||||
|
|
||||||
|
<h3>Object</h3>
|
||||||
|
<p>
|
||||||
|
Move all cards to the foundations.
|
||||||
|
|
||||||
|
<h3>Quick Description</h3>
|
||||||
|
<p>
|
||||||
|
Just like <a href="gypsy.html">Gypsy</a>,
|
||||||
|
but with all cards dealt face-up.
|
|
@ -551,7 +551,7 @@ class GI:
|
||||||
tuple(range(22217, 22219))),
|
tuple(range(22217, 22219))),
|
||||||
('fc-2.14', tuple(range(811, 827))),
|
('fc-2.14', tuple(range(811, 827))),
|
||||||
('fc-2.15', tuple(range(827, 855)) + tuple(range(22400, 22407))),
|
('fc-2.15', tuple(range(827, 855)) + tuple(range(22400, 22407))),
|
||||||
('dev', tuple(range(855, 890)))
|
('dev', tuple(range(855, 891)))
|
||||||
)
|
)
|
||||||
|
|
||||||
# deprecated - the correct way is to or a GI.GT_XXX flag
|
# deprecated - the correct way is to or a GI.GT_XXX flag
|
||||||
|
|
|
@ -79,14 +79,23 @@ class Gypsy(Game):
|
||||||
# default
|
# default
|
||||||
l.defaultAll()
|
l.defaultAll()
|
||||||
|
|
||||||
def startGame(self):
|
def startGame(self, flip=0):
|
||||||
for i in range(2):
|
for i in range(2):
|
||||||
self.s.talon.dealRow(flip=0, frames=0)
|
self.s.talon.dealRow(flip=flip, frames=0)
|
||||||
self._startAndDealRow()
|
self._startAndDealRow()
|
||||||
|
|
||||||
shallHighlightMatch = Game._shallHighlightMatch_AC
|
shallHighlightMatch = Game._shallHighlightMatch_AC
|
||||||
|
|
||||||
|
|
||||||
|
# ************************************************************************
|
||||||
|
# * Yeast Dough
|
||||||
|
# ************************************************************************
|
||||||
|
|
||||||
|
class YeastDough(Gypsy):
|
||||||
|
def startGame(self):
|
||||||
|
Gypsy.startGame(self, flip=1)
|
||||||
|
|
||||||
|
|
||||||
# ************************************************************************
|
# ************************************************************************
|
||||||
# * Giant
|
# * Giant
|
||||||
# ************************************************************************
|
# ************************************************************************
|
||||||
|
@ -1067,3 +1076,5 @@ registerGame(GameInfo(792, KingsSecrets, "King's Secrets",
|
||||||
GI.GT_2DECK_TYPE, 2, 2, GI.SL_BALANCED))
|
GI.GT_2DECK_TYPE, 2, 2, GI.SL_BALANCED))
|
||||||
registerGame(GameInfo(842, SwissPatience, "Swiss Patience",
|
registerGame(GameInfo(842, SwissPatience, "Swiss Patience",
|
||||||
GI.GT_GYPSY, 1, 0, GI.SL_BALANCED))
|
GI.GT_GYPSY, 1, 0, GI.SL_BALANCED))
|
||||||
|
registerGame(GameInfo(890, YeastDough, "Yeast Dough",
|
||||||
|
GI.GT_GYPSY, 2, 0, GI.SL_MOSTLY_SKILL))
|
||||||
|
|
Loading…
Add table
Reference in a new issue