[Solved] Weirdness Happening with code

I tried to add two things to the code a random number generator for the guess and the amount of turns for a win or loss factor for the player. It works fine going through the motions the first time. Resets properly and all but when you try to achieve 1000 again it does not make it that high. Same applies if you try to achieve 1 in a repeat state. Then there is the if statement that determines the win or lose state it works perfectly the first time through but the second time through it skips all text from the start except after the random generator is used.

Idiot me had collapse on in unity

Make sure all variables are returning to their begin game state when the game is restarted.

Privacy & Terms