import java.util.Scanner;
public class Weekly_Program_05 {
public static void welcome(String[] args) {
Scanner std = new Scanner(System.in);
System.out.println(" Welcome to Computer Dice");
System.out.println("---------------------------------------------");
System.out.println("Your opponent will first roll their two dice.");
System.out.println("Next You will roll your two dice." + '\r');
System.out.println("The outcome of each round will be based on");
System.out.println("the values of your dice - high beats low,");
System.out.println("pairs beat non-pairs.");
System.out.println("---------------------------------------------");
}
public static int rollDie(int low, int high) {
int d1 = (int)(Math.random() * 7);
int d2 = (int)(Math.random() * 7);
if (d1 == 6)
return high;
if (d1 == 1)
return low;
if (d2 == 6)
return high;
if (d2 == 1)
return low;
}
public static int majorDie(int d1, int d2) {
if (d1 > d2)
return d2;
else
return d1;
}
public static int minorDie(int d1, int d2) {
if (d1 < d2)
return d1;
else
return d2;
}
public static boolean isPair(int d1, int d2) {
return false;
}
public static int result(int oMajor, int oMinor, int pMajor, int pMinor) {
return pMinor;
}
public static void report(int wins, int ties, int loses) {
}
}