import java.util.Random;


public class JMUSlots {

	/**
	 * @param args
	 */
	public static void main(String[] args) 
	{
		Random rand;
		SlotMachine machine;
		SlotsGame game;
		
		if (args.length > 0)
			rand = new Random(Long.parseLong(args[0]));
		else
			rand = new Random();
		
		machine = new SlotMachine(rand);
		game = new SlotsGame(machine);
		game.playGame();
	}

}
