APPLE I GAME

No replies
Toolkitman's picture
Offline
Joined: Nov 21 2010
Posts: 140

Hi There,
I have programmed an Apple I game, where you have to match the number that find the computer.

10 DIM F$(20)
20 INPUT "SHALL WE PLAY A GAME",F$
30 IF F$= "YES" THEN 60
40 PRINT "OK BYE BYE"
50 END
60 INPUT "YOUR NUMBER",A
70 B=RND(1000)
80 TAB 15 :PRINT "YOUR NUMBER IS:",A
90 TAB 15 : PRINT "COMPUTER NUMBER IS:",B
100 IF A=B THEN PRINT "YOU WIN!!!!!"
110 IF A<>B THEN PRINT "YOU LOSE"
120 END

__________________

"gate gate paragate parasangate bodhi svahdl"
"Stay hungry, Stay Foolish!"
"Think Different"