I’m coming to the end of the Number Wizard module but don’t seem to be getting the results I’d expected.
It all works fine until the game is restarted. The ‘max’ won’t reset to 1000 and seems to be stuck of the ‘guess’ number. I’ve tried moving my integers into ‘Start ()’ and also after the print ‘I WON’ text to see if that would reset them but both just cause me more errors.
LINK TO SCRIPT;
https://gist.github.com/anonymous/2925adf1077853a1d678fc00e946a324
Any suggestions would be appreciated.