I think the Random number generator might be in the wrong spot because I ran your code and it keeps generating a new random number before you have guessed the first one. You do want it in one loop, but not both! Michelle