Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - christiannewman

Pages: [1]
1
Projects / cookie giver
« on: December 03, 2013 »
first make a .txt folder and copy and paste this
// The cookie giver, by [[christian]]
2
// Start of each round of the game
clear screen
print "welcome to the cookie giver 1.0 thanx for downloading at www.xxxxxxxxxxxxxxxxxxxx"
print "please enter 50 in the box below for your free cookie!"
// Ask the user what he thinks the answer is with input and put in variable a.
input a
// See if what the user said is right.
if a=49 then print"sorry that number is to low. press enter to try again"
end if
if a>51 then print"sorry that number is to high. Press enter to try again."
end if
if a=50 then print"congratulations you just earned a cookie!!"
end if 
// Press enter to continue
input b
//Return to start of the round.
goto 2

then rename it as a .yab folder

Pages: [1]