represent r0 as kt
This commit is contained in:
parent
3ac51d574e
commit
51e09cd943
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ class DeckCard:
|
||||||
return self.suitIndex == other.suitIndex and self.rank == other.rank
|
return self.suitIndex == other.suitIndex and self.rank == other.rank
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
|
if self.suitIndex == 0 and self.rank == 0:
|
||||||
|
return "kt"
|
||||||
return constants.COLOR_INITIALS[self.suitIndex] + str(self.rank)
|
return constants.COLOR_INITIALS[self.suitIndex] + str(self.rank)
|
||||||
|
|
||||||
def __hash__(self):
|
def __hash__(self):
|
||||||
|
|
Loading…
Reference in a new issue