home *** CD-ROM | disk | FTP | other *** search
Wrap
100 ifpeek(44)=18then120 110 sm=7735:cl=30720:q1=8141:q2=7793:goto130 120 sm=4151:cl=33792:q1=4557:q2=4209 130 jc=37154:j1=37151:j2=37152:s1=36874:s2=36876:hs=0 140 cr$=chr$(19):fori=1to23:cr$=cr$+chr$(17):next 150 poke36878,15:poke36879,25 160 for i=1to15 170 printchr$(28)chr$(147)left$(cr$,9)spc(8)"alpha" 180 printspc(7)"anxiety" 190 for j=1to100:next 200 printchr$(28)chr$(147)left$(cr$,9)spc(8)"alpha" 210 printspc(7)"anxiety" 220 for j=1to100: nexti 230 dimp%(25),rl%(5,5) 240 gosub1240 250 rf=0:at=0 260 dl=150 270 sc=0:ma=3:poke36879,28 280 l1=1:l2=1:lc=1:fl=1:po=sm:fg=0 290 ifrf=1thenlc=25 300 printchr$(147) 310 printtab(10)chr$(144)"[176][192][178][192][178][192][178][192][178][192][174]" 320 for i=1to4:printtab(10)"[221][166][221][166][221][166][221][166][221][166][221]":printtab(10)"[171][192][219][192][219][192][219][192][219][192][179]":next 330 printtab(10)"[221][166][221][166][221][166][221][166][221][166][221]" 340 print tab(10) "[173][192][177][192][177][192][177][192][177][192][189]" 350 print"next":print"letter:":print"[176][192][174]":print"[221] [221]":print"[173][192][189]" 360 print"time:":print"score:":print"";sc:print"high":print"score:" 370 print"";hs 380 ifsc<2499thenpokeq2+cl,5:pokeq2,lc 390 fori=q1+1toq1+43:pokei+cl,4:next 400 ti$="000000":cs=102 410 gosub570 420 iffg=1then280 430 ifma=0then480 440 pokes2,0 450 tl=dl-int(ti/60) 451 iftl<=0thentl=0 460 printleft$(cr$,11)spc(2)tl"[157] " 470 iftl>0then410 480 ifsc>hsthenhs=sc 490 printleft$(cr$,18)spc(11)"game over!" 500 pokes1,185:fori=1to300:next:pokes1,0:gosub1240 510 printchr$(147)"press the fire button" 520 print" to play again" 530 wait37137,32 540 wait37137,32,32 550 printchr$(147):fort=1to500:next 560 goto250 570 pokejc,127:p=peek(j2)and128 580 je=-(p=0) 590 pokejc,255:p=peek(j1) 600 js=-((pand8)=0) 610 jw=-((pand16)=0) 620 jn=-((pand4)=0) 630 jf=-((pand32)=0) 640 th=po:t1=l1:t2=l2 650 ifjfthengosub790:goto720 660 ifjethenpo=po+2:l1=l1+1:fl=1 670 ifjsthenpo=po+44:l2=l2+1:fl=1 680 ifjwthenpo=po-2:l1=l1-1:fl=1 690 ifjnthenpo=po-44:l2=l2-1:fl=1 700 iffl=0then780 710 pokes2,175 720 iffg=1then780 730 ifpo<smorpo>sm+207thenpo=th:l1=t1:l2=t2 740 ifpeek(po+1)=32orpeek(po-1)=32thenpo=th:l1=t1:l2=t2 750 poketh+cl,0:poketh,cs:cs=peek(po) 760 pokepo+cl,2:pokepo,rl%(l1,l2) 770 fl=0 780 return 790 ifrl%(l1,l2)=lcthensc=sc+10:goto830 800 ifrf=1then910 810 ifrl%(l1,l2)<lcthen940 820 goto910 830 pokes2,245:fort=1to25:next:pokes2,0 840 ifrf=1thenpokeq1+26-lc,lc:goto860 850 pokeq1+lc,lc 860 ifrf=1thenlc=lc-1:goto880 870 lc=lc+1 880 ifsc>2500then900 890 iflc<>0thenpokeq2,lc 900 cs=rl%(l1,l2):goto930 910 pokes1,250:fort=1to30:next:pokes1,0 920 dl=dl-10:poke36879,25+ma:goto1230 930 printleft$(cr$,15)spc(2)sc"[157] " 940 ifrf=0then970 950 iflc<>0then1230 960 goto980 970 iflc<>26then1230 980 ifsc>5000then1040 990 at=at+dl-tl 1000 ifsc=5000thendl=int(at/20):goto1090 1010 iftl<150thendl=tl*2+40:goto1090 1020 iftl>300thendl=tl*.5:goto1090 1030 dl=tl 1040 ifsc=6000thendl=dl-5 1050 ifsc=7000thendl=dl-5 1060 ifsc=8000thendl=dl-5 1070 ifsc=9000thendl=dl-5 1080 ifsc=10000thendl=dl-5 1090 fori=1to3 1100 pokes2,225:fort=1to250:next 1110 pokes2,0:fort=1to25:next 1120 nexti 1130 fori=1to2 1140 pokes2,231:fort=1to250:next 1150 pokes2,0:fort=1to25:next 1160 pokes2,225:fort=1to250:next 1170 pokes2,0:fort=1to25:next 1180 nexti 1190 pokes2,240:fort=1to250:next:pokes2,0 1200 ifsc>1250thenrf=1 1210 gosub1240 1220 fg=1 1230 return 1240 fori=1to25:p%(i)=i:next 1250 fori=1to5 1260 forj=1to5 1270 r=int(rnd(1)*25+1) 1280 ifp%(r)=0then1270 1290 rl%(i,j)=r 1300 p%(r)=0 1310 nextj 1320 nexti 1330 return