Author Topic: cookie giver  (Read 2759 times)

0 Members and 1 Guest are viewing this topic.

Offline christiannewman

  • ZX 81
  • *
  • Posts: 1
  • Karma: -1
    • View Profile
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
« Last Edit: December 03, 2013 by rbz »

Offline Hotshot

  • DBF Aficionado
  • ******
  • Posts: 2114
  • Karma: 91
    • View Profile
Re: cookie giver
« Reply #1 on: December 03, 2013 »
Your links doesnt work and can you try fixed it? :)

 :hi: to the forum and enjoy your stay :)
« Last Edit: December 03, 2013 by Hotshot »

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: cookie giver
« Reply #2 on: December 03, 2013 »
@christiannewman: Please, do not try to spam again.
Challenge Trophies Won: