home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compute! Gazette 1995 February
/
1995-02b.d64
/
lunar64
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-09-20
|
836b
|
20 lines
490 print "[147] lunar landing - jim butterfield."
500 print"height: 0000"
510 print"velocy: 000"
520 print"fuel: 000"
530 print"thrust: 3"
540 print " .. use numeric keys (1-9) .."
550 print " .. to adjust thrust."
800 sys 2584
810 v=(peek(1113)-48)*100+(peek(1114)-48)*10+peek(1115)-48
820 a$="a calamitous crash!"
830 if v<21 then a$="a smashed ship!"
840 if v<16 then a$="a wrecked rocket!"
850 if v<11 then a$="a lumpy landing!"
860 if v<6 then a$="a perfect touchdown!"
870 if peek(1112)<>45 and v>0 then a$="out of sky!"
880 print a$
890 print
900 input "another flight";a$
910 if left$(a$,1)<>"n" goto 490