I completed the Number Wizard section, was pretty breeze considering i have a programming background, but when i tried to make it recursive, as in the recursive of running the function once it seems impossible to have the user input included and getting error of how not every paths returns a value.
however all i could add to simplify it was setting the guess value as the mid point every time i called the NextGuess function with a keypress. aside from that, i just have to ask if it’s sometimes required in games to have recursive algorithms since i know that a regular solution is almost always more memory-friendly than a recursive one.
Here’s my code, not fancy but looks good :]
NumberWizard.cs