touchscreen red=0 score=0 count=0 goto playo playr: score=0 goto playo playo: do randomize timer red=rnd(2) print "score:",score if red=0 then print "can touch" else if red=1 then print "do not touch" else if red=2 then print "can touch" repeat if tap and red=2 or tap and red=0 then inc score if tap and red=1 then goto gameover wait vbl inc count until count=10 count=0 clw loop Gameover: print "" print "" print "" print "" print "" print " ","GAME OVER"," ", print "score:",score print "try another time..." print "touch the screen to" print "continue!" wait 10 repeat until tap score=0 clw goto playr