Whitney.md 476B

Dice code

The dice rolls with a default of 6 sides, storing the results each time. You can also compare it with another object die to see whether they have the same sides or not. This is done with a class named equals that takes in an object and goes through a series of if statements. Overall, it uses a random class for the rolls, stores results along with the sides and when creating a new dice it stops the user from putting results higher than sides in numSides class.