import java.util.ArrayList;

public class YahtzeeUI {

	public static void main(String[] args) {
		Yahtzee theGame = new Yahtzee();
		int counter = 0;
		while (theGame.isNotOver() && counter<5) {
			counter++;
		//    takeATurn()
		//    show the score card
		//    ask - ready to take another turn?
		}
		// displayFinalScore(theGame);
		// if (!playAgain()) then quit
	}

	public static void takeATurn() {
		// theGame.startTurnAndRollDice()
		// showScoringOptions(theGame)
		// showDice(theGame)
		// if theGame.canRollAgain()
		// 	choose a score or roll again
		// else
		//  choose a score
	}
	
	public static void RollSomeDice() {
		ArrayList<Die> myDice = new ArrayList<Die>(); 
		myDice = getDice(5);
		printOut(myDice);
	}

	private static ArrayList<Die> getDice(int numberToMake) {
		ArrayList<Die> myDice = new ArrayList<Die>();
		for (int i = 0; i < numberToMake; i++) {
			myDice.add(new Die());
		}
		return myDice;
	}
	
	public static void printOut(ArrayList<Die> myList) {
	    System.out.println("");
	    System.out.println("List has size of: " + myList.size());  
	    for (Die element : myList) {
	      System.out.println("  " + element.sideUp);
	    }
	}
}

@@ -129,27 +129,8 @@
 ();%0A
-%09%09int counter = 0;%0A
 %09%09wh
@@ -157,59 +157,36 @@
 er()
- && counter%3C5) %7B%0A%09%09%09counter++;%0A%09%09//    takeATurn()%0A
+) %7B%0A%09%09%09takeATurn(theGame);%0A%09
 %09%09//
@@ -209,16 +209,17 @@
 re card%0A
+%09
 %09%09//    
@@ -332,45 +332,401 @@
 %0A%0A%09p
-ublic static void takeATurn() %7B%0A%09%09// 
+rivate static void displayDice(Yahtzee theGame) %7B%0A%09%09System.out.print(%22  %22);%0A%09%09for (Die aDie : theGame.Dice()) %7B%0A%09%09%09System.out.print(aDie.sideUp + %22%5Ct%22);%0A%09%09%7D%0A%09%09System.out.println();%0A%09%7D%0A%0A%09private static void pickAScore(Yahtzee theGame) %7B%0A%09%09theGame.pickScore();%0A%09%09System.out.println(%22   Pick A score%22);%0A%09%7D%0A%0A%09public static void takeATurn(Yahtzee theGame) %7B%0A%09%09System.out.println(%22Start a Turn%22);%0A%09%09
 theG
@@ -738,26 +738,73 @@
 tart
+A
 Turn
-AndRollDice()%0A
+();%0A%09%09while (theGame.inATurn()) %7B%0A%09%09%09displayDice(theGame);%0A%09
 %09%09//
@@ -838,45 +838,50 @@
 )%0A%09%09
-// showDice(theGame)%0A%09%09// if 
+%09if (theGame.rollsLeft() %3E 0)%0A%09%09%09%09
 theGame.
 canR
@@ -880,12 +880,9 @@
 ame.
-canR
+r
 ollA
@@ -891,77 +891,54 @@
 in()
+;
 %0A%09%09
-// %09choose a score or roll again%0A%09%09// else%0A%09%09//  choose a score%0A%09%7D
+%09else %0A%09%09%09%09pickAScore(theGame);%0A%09%09%7D%0A%09%7D%0A%0A%0A%09
 %0A%09%0A%09
@@ -1269,17 +1269,16 @@
 ice;%0A%09%7D%0A
-%09
 %0A%09public
@@ -1325,20 +1325,17 @@
 ist) %7B%0A%09
-    
+%09
 System.o
@@ -1351,20 +1351,17 @@
 n(%22%22);%0A%09
-    
+%09
 System.o
@@ -1413,20 +1413,17 @@
 ());  %0A%09
-    
+%09
 for (Die
@@ -1448,14 +1448,10 @@
  %7B%0A%09
-      
+%09%09
 Syst
@@ -1490,19 +1490,16 @@
 deUp);%0A%09
-    
+%09
 %7D%0A%09%7D%0A%7D%0A

Implement 13 turns and 3 rolls