def acceptsCards(self, from_stack, cards): if not RK_RowStack.acceptsCards(self, from_stack, cards): return False if not self.cards: return (from_stack is self.game.s.talon or from_stack in self.game.s.reserves) return True
def acceptsCards(self, from_stack, cards): if not RK_RowStack.acceptsCards(self, from_stack, cards): return False # Only allow a sequence if pile is empty if len(self.cards) > 0: return False return True
def acceptsCards(self, from_stack, cards): if not RK_RowStack.acceptsCards(self, from_stack, cards): return False if cards[0].suit == DIAMOND: return False if self.cards: return self.cards[-1].suit != DIAMOND return True
def acceptsCards(self, from_stack, cards): if not self.cards and from_stack in self.game.s.reserves: return True return RK_RowStack.acceptsCards(self, from_stack, cards)
def acceptsCards(self, from_stack, cards): if not RK_RowStack.acceptsCards(self, from_stack, cards): return False if not self.cards: return from_stack is self.game.s.waste return True
def acceptsCards(self, from_stack, cards): if self.game.s.talon.cards: return False if len(self.cards) == 1: return True return RK_RowStack.acceptsCards(self, from_stack, cards)
def acceptsCards(self, from_stack, cards): if not RK_RowStack.acceptsCards(self, from_stack, cards): return False return BritishConstitution_RowStackMethods.acceptsCards( self, from_stack, cards)
def acceptsCards(self, from_stack, cards): if self.cards and not self.game.inSuitSequence(self.cards[-1], cards[0]): return False return RK_RowStack.acceptsCards(self, from_stack, cards)