Lines Matching refs:suit
62 # Suits and colors. The values of the symbolic suit names are the
64 # internationalize the game). The COLOR dictionary maps suit names to
133 suit, value, color -- the card's suit, value and color
152 def __init__(self, suit, value, canvas):
155 Arguments are the card's suit and value, and the canvas widget.
162 self.suit = suit
164 self.color = COLOR[suit]
170 text = "%s %s" % (VALNAMES[value], suit)
186 return "Card(%r, %r)" % (self.suit, self.value)
222 the suit stacks, and the row stacks).
410 for suit in ALLSUITS:
412 self.add(Card(suit, value, self.game.canvas))
499 return card.suit == topcard.suit and card.value == topcard.value + 1