'Roll all the dice in the pouch.'

def roll_dice(self):

    self.dice = {}
    self.dropped = {}
    for __ in range(self.num):
        number = random.randint(1, self.type)
        count = self.dice.setdefault(number, 0)
        self.dice[number] = (count + 1)
