you never call this again
int number = generator.nextInt(100) + 1;
so the number is the same
and if i type in a break under tries its only go 1 turn in the game.
I don't understand what you are trying to do or are saying... you mean
that will break on "break;"
confused as to question or purpose....
I would do two loops...
initialize all your variables...
code for game
on correct int guess set CorrectInt = true;
Ask if want to play again
on n set GameDone = true;