diff --git a/pysollib/games/klondike.py b/pysollib/games/klondike.py index f24009e5..0c00c718 100644 --- a/pysollib/games/klondike.py +++ b/pysollib/games/klondike.py @@ -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):