you never call this again
so the number is the same
int number = generator.nextInt(100) + 1;
I don't understand what you are trying to do or are saying... you mean
and if i type in a break under tries its only go 1 turn in the game.
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;