@SuppressWarnings("unused")
	private static void HiLoGuessNumber(){
		Scanner keyboard = new Scanner(System.in);
		Random r = new Random();
		int randomNumber = 1 + r.nextInt(100);
		int tries = 0;

		System.out.println("Type 0 to exit the game.");
		System.out.println("I'm thinking of a number between 1-100. You have 7 tries.");
		System.out.print("First Guess: ");
		int guess = keyboard.nextInt();
		
		while(tries < 7 && guess != randomNumber && guess != 0){
			
			if(guess > randomNumber){
				System.out.println("Sorry, that is too high.");
			}
			else{
				System.out.println("Sorry, you are too low.");
			}
			tries++;
			System.out.print("Guess # " + tries + ":");
			guess = keyboard.nextInt();
		}
		
		if(guess == 0){
			System.out.println("You closed the App.");
		}
		else if(guess == randomNumber){
			System.out.println("You guessed it! What are the odds?!?.");
		}
		else if (guess != randomNumber && tries >= 7){
			System.out.println("Sorry, you didn't get it in 7 tries. You lose.");
		}
		
		keyboard.close();
	}