Ejemplo n.º 1
0
def largeStraight(roll):
    return 40*CategoryRules.largeStraight(roll)
Ejemplo n.º 2
0
def smallStraight(roll):
    return 30*CategoryRules.smallStraight(roll)
Ejemplo n.º 3
0
def fourOfAKind(roll):
    if CategoryRules.fourOfAKind(roll):
        return sum(roll)
    else:
        return 0
Ejemplo n.º 4
0
def threeOfAKind(roll):
    if CategoryRules.threeOfAKind(roll):
        return sum(roll)
    else:
        return 0
Ejemplo n.º 5
0
def fullHouse(roll):
    return 25*CategoryRules.fullHouse(roll)
Ejemplo n.º 6
0
def yahtzee(roll):
    return 50*CategoryRules.yahtzee(roll)