/*
 * NumberGame.java
 *
 * A random number guessing game.
 *
 * Author:
 * Date:
 */

import java.util.Scanner;

public class NumberGame {

    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);

        System.out.println("Welcome to NumberGame!");

        System.out.println("Available levels of difficulty:");
        System.out.println("\t1. easy");
        System.out.println("\t2. normal");
        System.out.println("\t3. hard");

        System.out.print("your choice (1-3): ");

        /*
         * Write the code to handle getting the difficulty level here.
         */
        int difficulty = __________;

        int min;
        int max;

        /*
         * Complete the conditional blocks below to set the lower
         * and upper bounds of the guessing range.
         */
        if (___) {

        } else if (___) {

        } else {

        }

        int secretNumber = _________;

        /*
         * Now keep going from here!
         * Start by creating an unstructured solution, i.e. do
         * not break pieces into methods and do not try to
         * reduce duplicated code in conditional blocks. Do
         * this last, after you know the program works!
         */

    }

    /*
     * Return a random integer between min and max.
     */
    public static int getRandom(int min, int max) {
        return (int)(Math.random() * (max - min + 1) + min);
    }
}
