You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.
Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.
randomize timer():count=0:cls:number=rnd(99)+1:print "I am thinking of a number between 1 and 100":print "I will give you ten tries to get it, what do you think it is?"
input a:count=count+1: if a>100 or anumber then print a;" is higher than the number I was thinking of, try another number please"
if a=number then print "you where correct ";a;" is the number I was thinking of, you got it in ";count;" tries, get ready to go again": wait 4000:goto start
if count>10 then print "sorry!, you took more than ten tries to find the number, try another number, you may be lucky this time": wait 5000:goto start
Login to post a reply