Here’s the problem I ran in to.
As we introduce some code so that a guess number can’t be repeated, we allow the game to decrease the max value or increase the min. But by doing that, we create a way for the game to stat guessing numbers superior to our initial max (in this case, 1000). This is because as we add +1 to the min, it can eventually get to values greater than 1000.
Does this makes sense or is it something that is happening just to me?
I think it can be fixed using conditionals, but I chose to remove this additional coding because I like that, eventually, the game reaches a point where it stops guessing numbers.