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:
parent
df80ec1047
commit
976a5767aa
1 changed files with 5 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue