Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EDIT: Make a game in 10 lines or less.
#6
heres mine
Code:
' Stop the number with the space bar and try to get within 100 away from 2500!
1 CLS
2 SCREEN 13
3 FOR i = 1 TO 5000
4 LOCATE 1, 1
5 PRINT i
6 IF INKEY$ = CHR$(32) THEN EXIT FOR
7 NEXT
8 IF 2500 - i > -100 AND 2500 - i < 100 THEN PRINT "YAY, you got within 100!" ELSE PRINT "Haha you lose"

andy: with yours you can press etner before the screen changes and win
edit: heres another =P
Code:
'press space when the numbers are next to eachother
1 CLS
2 FOR s = 0 TO 74
3 FOR i = 1 TO 5
4 IF i = 1 THEN LOCATE 10, 1 + s ELSE IF i = 2 THEN PRINT 1 ELSE IF i = 3 THEN LOCATE 11, 75 - s ELSE IF i = 4 THEN PRINT 2 ELSE IF i = 5 THEN t = TIMER
5 NEXT i
6 DO
7 LOOP UNTIL TIMER - t >= .0001
8 IF INKEY$ = CHR$(32) THEN EXIT FOR
9 NEXT s
10 IF 75 - s = 1 + s THEN PRINT "YOU WIN" ELSE PRINT "YOU LOSE"
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
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 whitetiger0990 - 03-08-2004, 01:51 AM
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: 1 Guest(s)