Why are you here (Ignore)

if(hasStarted==2 && gameMode==13){ textSize(30); text("RULES:", 300, 100); text("CLICK TO START", 300, 450); textSize(20); text("There will be five targets.", 300, 200); text("These targets will advance towards the right edge of the screen.",300,250); text("If any of these ever go offscreen or you miss 25 shots, you will lose.", 300, 300); text("Whenever you click a target, in addition to gaining points, you will reset its position.", 300, 350); x=random(0,width); y=random(0,height); newx=random(0,width); newy=random(0,height); newnewx=random(0,width); newnewy=random(0,height); newnewnewx=random(0,width); newnewnewy=random(0,height); newnewnewnewx=random(0,width); newnewnewnewy=random(0,height); score=0; basicTimerLoss=0; missLoss=0; } if(hasStarted>=3 && gameMode==13 && basicTimeLoss==false && missLoss==false){ fill(#FFFFFF); circle(x,y,200); circle(newx,newy,200); circle(newnewx,newnewy,200); circle(newnewnewx,newnewnewy,200); circle(newnewnewnewx,newnewnewnewy,200); x+=10; newx+=10; newnewx+=10; newnewnewx+=10; newnewnewnewx+=10; if(mousePressed==true){ pythagorasA=mouseX-x; pythagorasB=mouseY-y; pythagorasA=pow(pythagorasA,2); pythagorasB=pow(pythagorasB,2); pythagorasC=sqrt(pythagorasA+pythagorasB); if(pythagorasC<=100){ score+=1; x=random(0,width/4); y=random(0,height);



} else{ pythagorasA=mouseX-newx; pythagorasB=mouseY-newy; pythagorasA=pow(pythagorasA,2); pythagorasB=pow(pythagorasB,2); pythagorasC=sqrt(pythagorasA+pythagorasB); if(pythagorasC<=100){ score+=1; newx=random(0,width/4); newy=random(0,height);

} else{ pythagorasA=mouseX-newnewx; pythagorasB=mouseY-newnewy; pythagorasA=pow(pythagorasA,2); pythagorasB=pow(pythagorasB,2); pythagorasC=sqrt(pythagorasA+pythagorasB); if(pythagorasC<=100){ score+=1; newnewx=random(0,width/4); newnewy=random(0,height);

} else{ pythagorasA=mouseX-newnewnewx; pythagorasB=mouseY-newnewnewy; pythagorasA=pow(pythagorasA,2); pythagorasB=pow(pythagorasB,2); pythagorasC=sqrt(pythagorasA+pythagorasB); if(pythagorasC<=100){ score+=1; newnewnewx=random(0,width/4); newnewnewy=random(0,height);

} else{ pythagorasA=mouseX-newnewnewnewx; pythagorasB=mouseY-newnewnewnewy; pythagorasA=pow(pythagorasA,2); pythagorasB=pow(pythagorasB,2); pythagorasC=sqrt(pythagorasA+pythagorasB); if(pythagorasC<=100){ score+=1; newnewnewnewx=random(0,width/4); newnewnewnewy=random(0,height);

} else{ shots+=1; } } } } } mousePressed=false; } if(x>width || newx>width || newnewx>width || newnewnewx>width || newnewnewnewx>width){ basicTimeLoss=true; } if(shots>=25){ missLoss=true; } } if(hasStarted>=3 && gameMode==13 && basicTimeLoss==false && missLoss == true){ textSize(20); text("You missed 25 shots.", 300, 100); text("You lose.", 300, 150); text("Your final score was "+score, 300, 200); text("Your high score is "+defenseHighScore, 300, 250); //copy and paste the 1 to play again code here }