# Welcome to the 42nd Guild of Numeric Magicians (Local Greeting- Namaste!)

#1

Hey guys, I’m a Student from India, and I’ve always had an interest in gaming and coding. I guess it’s time to combine the two!

HAPPY NEW YEAR EVERYBODY!

``````// Start is called before the first frame update
void Start()
{
Debug.Log("WAZZAAAP!!! Welcome to the 42nd Guild of Numeric Magicians, where we have the answers for all. Do you want to become skilled in the arts of number manipulation?");
Debug.Log("Your first task is to learn how to read minds. Quite simple, it's what every young wizard learns. I'll go ahead and show you how to do it with some predefined limits.");
Debug.Log("Since this is your first skill, keep it basic and think of only a whole number.");
Debug.Log("Highest Number you can summon is: " + max);
Debug.Log("Lowest Number you can summon is: " + min);
Debug.Log("You've been provided a staff to practice your magic. For now, use it to tell me if my guesses are higher, lower or correct.");
Debug.Log("Push Up = Higher, Push Down = Lower, Push Enter = Correct");
Debug.Log("My first prediction is " + guess);
max = max + 1;
}

// Update is called once per frame
void Update()
{
if (Input.GetKeyDown(KeyCode.UpArrow))
{
Debug.Log("Intriguing, it seems I must predict higher.");
min = guess;
guess = (min + max) / 2;
Debug.Log("How about " + guess + "?");
}
else if (Input.GetKeyDown(KeyCode.DownArrow))
{
Debug.Log("Interesting, it seems I must predict lower.");
max = guess;
guess = (min + max) / 2;
Debug.Log("How about " + guess + "?");
}
else if (Input.GetKeyDown(KeyCode.Return))
{
Debug.Log("Aha! I've got it!");
Debug.Log("This skill will help you predict your opponents' attacks if you encounter any on your journeys across the vast lands of mathematica.");
Debug.Log("Before you embark upon your journey, I must tell you something. Don't get afraid of advanced mathematics. It's as easy as Pi.");
}
}
``````

}

#2