import java.util.Scanner;
import java.util.Random;

/**********************************************************************
 * Class purpose: Simulate an 8-ball
 * 
 * @author  Archer Harris updated Nancy Harris
 * @version 10/10/2012
 *********************************************************************/
public class EightBall
{

  /******************************************************************
   * Method purpose: simulate an 8-ball
   *
   * @param args Command line arguments, ignored
   *****************************************************************/
  public static void main(String [] args)
  {
    Scanner  keyboard;   // Input Stream
    
    String   wantToAsk;  // User input: want to ask a question
    String   questionStr; // User input: the question
    
    int      answerIndex; // The index value returned by random generator
    String   answerStr;  // The program's answer
    
    int      seed;    // User input: the random generator seed
    
    // 1. Create a Scanner object (initialize keyboard)
    
    // 2. Output the heading  
    
    //*****************
    // 3. Get the inputs -- see Output section for prompts (note: might you use Utility from PA2?)
    //*****************
    
    //*****************
    // 4. Check if the user wants to enter a question or not.
    //*****************
    
    //*****************
    // 5. Input the user's questions, and check the length of the question.  See checkQuestion method at bottom of lab.
    //*****************
    
    //***************
    // 6. Pick an answer -- See pickRandom method at bottom of lab.
    //***************
    
    //***************
    // 7. Output results
    //***************
    
  } // end main
  
  /***********************
   * method checkQuestion will check the question entered by the user 
   * and if it is too long, will display the error message and exit the program.
   *
   * @param question The question that was asked
   ***********************/
  public static void checkQuestion(String question)
  {
         
  } // end checkQuestion
  
  /***********************
   * method pickRandom will pick a random number from 1 - 20  
   * use the Math.random class to choose a random number between 0 and 1
   * then scale that number to 1 - 20 or use the Random class
   *
   * @return the random number
   ***********************/
  public static int pickRandom()
  {
  } // end pickRandom
}
