Ahoj! Be welcome on _NUMBER WIZARD_ game... :D

I am happy to be there and upload my progress for this community…

{
int max = 1000;
int min = 1;
int guess = 500;

// Start is called before the first frame update
void Start()
{
    Debug.Log("Be greeted my friend, this is my numberwizard game.");
    Debug.Log("SO LETS PLAY!");
    Debug.Log("Pick a number, dont say any one. It must be secret!");
    Debug.Log("YOUR Highest number option is:" + max);
    Debug.Log("YOUR Lowest number option is:" + min);
    Debug.Log("press the button: downarrow = if is lower");
    Debug.Log("press the button: uparrow = if is higher");
    Debug.Log("press the button: enter = if is correct");
    Debug.Log("Tell me if this number is lower, higher or correct : " + guess);
    max = max + 1;
}

// Update is called once per frame
void Update()
{

    if (Input.GetKeyDown(KeyCode.UpArrow))
    {
        min = guess;
        guess = (max + min) / 2;
        Debug.Log("Is it your dreamed number? => " + guess);
    }

    else if (Input.GetKeyDown(KeyCode.DownArrow))
    {
        max = guess;
        guess = (max + min) / 2;
        Debug.Log("Is it your dreamed number? => " + guess);
    }

    else if (Input.GetKeyDown(KeyCode.Return))
    {
      Debug.Log("finally?");
      Debug.Log("Got you m8!");
       

    }
    
}

}