Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EDIT: Make a game in 10 lines or less.
#34
Heres my 10 liner; made a long time ago and not that impresive oh and simflied to make it a 10 liner....
print "I have have thought of a number between 1 to 10"

1: label:
2: guess = guess + 1
3: input "", num
4: randomize timer
5: numb = int(rnd * 10) + 1
6: if num = numb then goto exit
7: print "Wrong number, try again."
8: goto label
9: exit:
10: print "You guessed the number in ", guess, " attempts
atos-Software
http://www.datacentertalk.com - interested in how web hosting works? Here the place to go to find out.
[Image: 42-r]
Reply


Messages In This Thread
EDIT: Make a game in 10 lines or less. - by andy - 03-07-2004, 04:04 PM
EDIT: Make a game in 10 lines or less. - by KiZ - 03-09-2004, 12:30 AM
EDIT: Make a game in 10 lines or less. - by KiZ - 03-09-2004, 12:40 AM
EDIT: Make a game in 10 lines or less. - by Zack - 03-09-2004, 08:39 AM
EDIT: Make a game in 10 lines or less. - by KiZ - 03-09-2004, 03:19 PM
10 line game... - by jatos - 03-09-2004, 06:10 PM
my 10 liner - by jatos - 03-09-2004, 09:38 PM
EDIT: Make a game in 10 lines or less. - by KiZ - 03-09-2004, 10:52 PM
EDIT: Make a game in 10 lines or less. - by seph - 05-13-2004, 12:58 AM
EDIT: Make a game in 10 lines or less. - by seph - 05-13-2004, 02:48 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)