1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

- corrected rules of Whitehead

git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@2 efabe8c0-fbe8-4139-b769-b5e6d273206e
This commit is contained in:
skomoroh 2006-05-28 23:55:49 +00:00
parent df80ec1047
commit 976a5767aa

View file

@ -163,8 +163,12 @@ class ThumbAndPouch(Klondike):
# // Whitehead
# ************************************************************************/
class Whitehead_RowStack(SS_RowStack):
def _isAcceptableSequence(self, cards):
return isSameColorSequence(cards, self.cap.mod, self.cap.dir)
class Whitehead(Klondike):
RowStack_Class = SC_RowStack
RowStack_Class = Whitehead_RowStack
Hint_Class = CautiousDefaultHint
def createGame(self):