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

Method getValue

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

Returns card's value.

(self)

Source from the content-addressed store, hash-verified

614 return self.colorCode
615
616 def getValue(self):
617 '''Returns card's value.'''
618 return self.value
619
620 def getPoints(self):
621 '''Returns card's point value.'''

Callers 7

getLegalCardsMethod · 0.45
indexCardMethod · 0.45
thinkMethod · 0.45
getCardByValueMethod · 0.45
getAllCardsByValueMethod · 0.45
placeCardMethod · 0.45
startElementMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected