public class DiceGame {

	Dice dice1;
	Dice dice2;
	
	public DiceGame()
	{
		dice1 = new Dice();
		dice2 = new Dice();
	}
	
	public void playGame()
	{	
		int roll1= dice1.rollDice();
		int roll2= dice2.rollDice();
		
		System.out.println("Result of the rollDice() on dice1: "+ roll1);
		System.out.println("Result of the rollDice() on dice2: "+ roll2);
		
		if ((roll1+ roll2) >=8)
			System.out.println("Congratulations, You WIN!");
		else 
			System.out.println("Oops, You loose...");
	}
	
}
