I am getting a weird bug where in my game, where you enter a guess that is greater than the maxNum like 8 as the guess and the maxNum entered is 10. The game is supposedly think 8 is greater than 10. The issue with the code is coming from the checkGuess function. I have no idea if it is cause I am using global variables.