English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-09-19 16:32:21 · 2 answers · asked by fikry 1 in Games & Recreation Other - Games & Recreation

2 answers

Here is a game in Applesoft BASIC:

10 TEXT:HOME
20 GU = 1
30 PRINT:PRINT "GUESS A NUMBER BETWEEN 1 AND 10:"
40 X = INT(RND(1)*10)+1
50 INPUT A
60 IF A = X THEN GOTO 100
70 PRINT:PRINT "WRONG!"
80 GU=GU+1
90 GOTO 50
100 PRINT:PRINT:PRINT "YOU GOT IT IN ONLY ";GU;" GUESSES!"
110 END

2006-09-19 16:36:29 · answer #1 · answered by Anonymous · 0 0

HUH..

2006-09-19 16:33:46 · answer #2 · answered by hisahito 5 · 1 0

fedest.com, questions and answers