Quote: "For example, I might make my first ever game, it's a simple click on the square when it appears in a random position. Although most people wouldn't find my code helpful I don't see a problem with me posting it because I'm trying to help out in the community and it probably took me a long time to get that far."
Ill just post the code for that here so the person doesnt need to post it...
sync on
sync rate 60
set display mode 640,480,16
x=rnd(630)
y=rnd(470)
do
CLS
text 10,10,"Score:"+str$(score)
box x,y,x+10,y+10
if mouseclick()=1
if mousex()>x and mousex()<x+10 and mousey()>y and mousey()<y+10
x=rnd(630)
y=rnd(470)
score=score+1
endif
endif
sync
loop