PLEASE HELP ME! I THINK IT MAY BE LOOP PROBLEM. NUMBER GAME.

Hi I recently created a number game that worked great. Originally my program randomly chose a number and the player had 3 chances to guess the number. each time a wrong answer was given a hint would appear for example "too low" or "too hi".after the number was guessed correctly or the three chances were up the player had the option to play again. Recently i went back to this program and i wanted to make it so that it kept score, every time the player guessed the number correctly the player would get a point, and every time the player failed to guess correctly the cpu would get a point. after adding the loop to keep score my program wont work any more. So I'm pretty sure it is loop three that is the problem. I'm kind of a noob at programming so I was hoping that someone here could help me.

this is the original program that works..

LET a\$ = "y" !loop 1
DO while a\$ = "y"
CLEAR

LET NOGUESSES = 0 !loop 2
DO while NOGUESSES <= 3

RANDOMIZE
LET NUM = int (10 * rnd) +1 !random number statement

INPUT prompt "What is your guess 1-10? ":GUESS

IF GUESS > 10 then
PRINT "DON'T BE SMART WITH ME, START OVER"
LET NOGUESSES = NOGUESSES + 2
END IF

IF GUESS < 1 then
PRINT "DON'T BE SMART WITH ME, START OVER"
LET NOGUESSES = NOGUESSES + 2
END IF

IF GUESS > NUM then
PRINT
PRINT "Your guessing a little to high!"
PRINT
LET NOGUESSES = NOGUESSES + 1
END IF

IF GUESS < NUM then
PRINT
PRINT "Just a little to low!"
PRINT
LET NOGUESSES = NOGUESSES + 1
END IF

IF GUESS = NUM then
PRINT
PRINT " CORRECT!"
PRINT " The number was";NUM
PRINT
END IF

LOOP until NOGUESSES = 3 !loop 2 end

INPUT prompt "Would you like to play again? (yes,y / no,n)":a\$
LOOP !loop 1 end

END

Then I added a third loop and now my program runs but as soon as it starts it's a blank screen and wont do anything. I know it is some sort of loop error but I cannot figure it out. everything i have added in my third loop is labeled "!loop 3".

LET a\$ = "y"
DO while a\$ = "y" !loop 1 start
CLEAR

LET NOGUESSES = 0
DO while NOGUESSES <= 3 !loop 2 start

LET SCORE1 = 0
LET SCORE2 = 0
DO while SCORE1 = 10 OR SCORE2 = 10 !LOOP 3 START

RANDOMIZE
LET NUM = int (10 * rnd) +1 !random number statement

INPUT prompt "What is your name? ":NAME\$

PRINT NAME\$ ;SCORE1 !loop 3
PRINT
PRINT
PRINT "CPU" ;SCORE2 !loop 3
PRINT
PRINT
PRINT
INPUT prompt "What is your guess 1-10? ":GUESS

IF GUESS > 10 then
PRINT "DON'T BE SMART WITH ME, START OVER"
LET NOGUESSES = NOGUESSES + 2
END IF

IF GUESS < 1 then
PRINT "DON'T BE SMART WITH ME, START OVER"
LET NOGUESSES = NOGUESSES + 2
END IF

IF GUESS > NUM then
PRINT
PRINT "Your guessing a little to high!"
PRINT
LET NOGUESSES = NOGUESSES + 1

END IF

IF GUESS < NUM then
PRINT
PRINT "Just a little to low!"
PRINT
LET NOGUESSES = NOGUESSES + 1
END IF

IF GUESS = NUM then
PRINT
PRINT " CORRECT!"
PRINT " The number was";NUM
PRINT
LET SCORE1 = SCORE1 +1 !loop 3
END IF

IF NOGUESSES = 3 THEN
LET SCORE2 = SCORE2 + 1 !loop 3
END IF

LOOP UNTIL SCORE1 = 10 OR SCORE2 = 10 !END LOOP 3

LOOP until NOGUESSES = 3 !loop 2 end

INPUT prompt "Would you like to play again? (yes,y / no,n)":a\$
LOOP !loop 1 end

END

PLEASE HELP ME I CANT FIGURE OUT WHAT IS WRONG AND I'M GETTING VERY FRUSTRATED.