mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Fix imports and autodrop crash.
This commit is contained in:
parent
1144360d27
commit
f43ef2645c
3 changed files with 9 additions and 2 deletions
|
@ -12,4 +12,8 @@ in sequence (ace to king, then start over from ace). If the card you draw
|
||||||
matches the rank you declared, that is a "Hit", and the card may be moved
|
matches the rank you declared, that is a "Hit", and the card may be moved
|
||||||
to the foundation. Otherwise, it is a "Miss". You can continue to redeal
|
to the foundation. Otherwise, it is a "Miss". You can continue to redeal
|
||||||
as many times as you need, until you go through the entire deck twice in a
|
as many times as you need, until you go through the entire deck twice in a
|
||||||
row without getting a single "Hit".
|
row without getting a single "Hit".
|
||||||
|
|
||||||
|
<h3>Notes</h3>
|
||||||
|
<p>
|
||||||
|
<i>Autodrop</i> is disabled for this game.
|
||||||
|
|
|
@ -154,6 +154,9 @@ class HitOrMiss(Game):
|
||||||
# save vars (for undo/redo)
|
# save vars (for undo/redo)
|
||||||
return [self.rank, self.deadDeals]
|
return [self.rank, self.deadDeals]
|
||||||
|
|
||||||
|
def getAutoStacks(self, event=None):
|
||||||
|
return ((), (), ())
|
||||||
|
|
||||||
|
|
||||||
# register the game
|
# register the game
|
||||||
registerGame(GameInfo(774, HitOrMiss, "Hit or Miss",
|
registerGame(GameInfo(774, HitOrMiss, "Hit or Miss",
|
||||||
|
|
|
@ -27,8 +27,8 @@ from pysollib.games.golf import BlackHole_Foundation
|
||||||
from pysollib.hint import CautiousDefaultHint
|
from pysollib.hint import CautiousDefaultHint
|
||||||
from pysollib.layout import Layout
|
from pysollib.layout import Layout
|
||||||
from pysollib.stack import \
|
from pysollib.stack import \
|
||||||
AbstractFoundationStack, \
|
|
||||||
AC_RowStack, \
|
AC_RowStack, \
|
||||||
|
AbstractFoundationStack, \
|
||||||
RK_FoundationStack, \
|
RK_FoundationStack, \
|
||||||
RK_RowStack, \
|
RK_RowStack, \
|
||||||
ReserveStack, \
|
ReserveStack, \
|
||||||
|
|
Loading…
Add table
Reference in a new issue