CLEANUP: Indentation
REORG: Remove useless else

Why would you need that ? A number can only be <, > or == to another
number.
And even if the user enter :
"AA"
You'll have 0x41 (65) in triedNumber, as chars are converted to their
ASCII code if the type of triedNumber is "int".
REORG: Factorize the code

If you want to change the 'game' function (add an argument ?), you'll
just have to change a single line.
CLEANUP: Remove commented code