11 lines
190 B
Python
11 lines
190 B
Python
from dice import Dice
|
|
|
|
class Cup:
|
|
|
|
def __init__(self):
|
|
self.dice_1 = Dice
|
|
self.dice_2 = Dice
|
|
|
|
def roll(self):
|
|
return [self.dice_1.roll(), self.dice_2.roll()]
|