public class DiceGame { public static void main (String[] args) { // Declaring the variables I'll need later int total, len, currentDie, testDie; // Declare and instantiate a new Dice object that // contains 5 dice (or Die objects) Dice dice = new Dice(5); // Roll all of the dice dice.roll(); // Total the values of the dice total = 0; // initialize total to 0 // For each element in the Dice array, get the // face value and add it to total for (int i=0; i