/**
 * Class Pig - Driver class for application. This class is complete.  Do not
 * add any additional code.
 *
 * @author Michael L. Norton, Nancy Harris and ...
 * @version 10/18/2007
 */
public class Pig
{
	/**---------------------------------------------------------------------
	 * method: main
	 *
	 * Play a game of pig between a user and the computer.
	 *
	 * @param args Command line arguments - unused in this application
	 *-------------------------------------------------------------------*/
	public static void main (String [] args)
	{
		PigPlayer human;		
		PigPlayer computer;		
		PigGame game;
		
		//-----------------------------------------------------------------
		// Create 2 players, send them to the game, and then start the
		// game
		//-----------------------------------------------------------------
				
		human = new PigPlayer( "Human" );
		computer = new PigPlayer( "Computer" );

		game = new PigGame ( human, computer );
		game.play();

	} // method main

} // class Pig
