/********************************************************
 * This class will start the game of Hangman
 *
 * @author - Nancy Harris
 * @version - 1 - HangManDriver
 ********************************************************/
 /*******************************************************
 /  References and Ackknowledgements: I have recieved
 /  no help on this programming assignment
 /
 /*******************************************************/
public class WordGuessDriver
{

	/** main builds a new game and starts play
	 *
	 * @param args Provides the seed value to use in the game
	 */
	 
	public static void main(String args[])
	{
		long seed;   // seed value to start random generator
		WordGuess game; 
		
		// This code gets a seed value to use to control words displayed
		if (args.length == 0)
			seed = 123456789;
		else 
			seed = Integer.parseInt(args[0]);

		game = new WordGuess(seed);
		game.playGame();
	
		System.out.println("Game over.  Play again soon.");	
	} // END main method
	
} // END class WordGuessDriver
