/********************************************************
 * This class will play variant of Hangman
 *
 * @author - Vincent D. Capaccio and Nancy Harris
 * @version - 2 - WordGuess
 ********************************************************/
 /*******************************************************
 /  References and Ackknowledgements: I have recieved
 /  no help on this programming assignment
 /
 /*******************************************************/
import java.util.Scanner; // needed for keyboard input
 
public class WordGuess
{
	// These fields are used by many methods in WordGuess. 
	// They also define the word guess game.
	// DO NOT ADD ANY OTHER FIELDS HERE exept if you have talked to the professor
	// about your design. All other fields 
	// should be defined in methods below.
		
	private Scanner keyboard;   // used by many methods
	private Dictionary words;   // provides the words that we will use

	/** WordGuess constructor takes in the seed and uses it to instantiate the 
	    Dictionary object - DO NOT CHANGE THIS METHOD
		
		@param seed The seed value to set the random number generator
		*/
	public WordGuess(long seed)
	{
		words = new Dictionary(seed);
		keyboard = new Scanner(System.in);
	}
	
	/** playGame runs through the game.  Ends when the user chooses 
	 *  not to play another game
	 */
	public void playGame()
	{
	}
		
		/** setUserWord takes in the word to play from the dictionary
		 *  and returns a masked word with no guesses
		 * 
		 * @param theWord the word from the dictionary
		 * @return the userWord filled in with the no guess symbol
		 */	
		public String setUserWord(String theWord)
		{
		}
		
		/** isInWord takes a guess and a word and returns true if 
		 *  the letter is in the word, and false if it is not.
		 *
		 * @param guess The letter that the user guessed
		 * @param word The word to inspect
		 * @return true if guess is in word, false otherwise
		 */
		public boolean isInWord(char guess, String word)
		{	
		}
		/** updateUserWord takes a guess, a progress word and the dictionary word
		 *  and produces a new progress word with the corresponding guess locations
		 *  filled in.  For example, if the guess were e and the word fetch, and the 
		 *  progress word _____, then this method would return a new String _e___
		 * 
		 * @param guess The letter the user guessed
		 * @param userWord The progress word that shows where the user is
		 * @param word The dictionary word
		 * @return a String representing the new progress word
		 */
		public String updateUserWord(char guess, String userWord, String word)
		{
		}
		
		/** updateGuesses updates the bad guesses string with 
		 *  the new "bad guess".
		 *
		 * @param userGuesses The list of prior bad guesses
		 * @param guess The current guess
		 * @return The updated userGuesses String
		 */
      public String updateGuesses(String userGuesses, char guess)
      {
      }
		
		/** displayUserWord displays the word as the user is guessing and 
		 *  filling in the spaces.  The display will include a space before 
		 *  each letter (or underscore) in the word.
		 * 
		 * @param userWord The user's progress word
		 */
		public void displayUserWord(String userWord, String userGuesses)
		{	
      }
} // END class Word Guess