MCPcopy Create free account
hub / github.com/ActiveState/code / getColor

Method getColor

recipes/Python/580811_Uno_TextBased/recipe-580811.py:608–610  ·  view source on GitHub ↗

Returns card's color.

(self)

Source from the content-addressed store, hash-verified

606 return bigNums
607
608 def getColor(self):
609 '''Returns card's color.'''
610 return self.color
611
612 def getColorCode(self):
613 '''Returns card's color code.'''

Callers 8

getLegalCardsMethod · 0.45
addCardMethod · 0.45
indexCardMethod · 0.45
thinkMethod · 0.45
getCardByColorMethod · 0.45
getBestColorMethod · 0.45
placeCardMethod · 0.45
nextTurnMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected