home *** CD-ROM | disk | FTP | other *** search
- 0 poke55,255:poke56,55:poke53272,21:poke53248+16,.:poke53281,.:poke53280,.
- 1 poke53248,.:poke53249,.
- 2 ifa>0 then 6
- 3 gosub60500
- 5 a=1:load"castle.fnt",8,1
- 6 :
- 7 print"[147]":restore:h=0
- 10 f=6:q=rnd(ti)*11+1876
- 11 print"[147][152]"
- 15 poke832,128:forx=833to833+62:pokex,.:next
- 16 poke 53272,(peek(53272)and240)or14
- 20 data 139,140,141,142,143,144,171,172
- 30 data 173,174,175,176,203,204,205,206
- 40 data 207,208,235,236,237,238,239,240
- 50 forx=1to160 step40
- 51 fory=0to5
- 52 readm:pokeq+x+y,m:pokeq+x+y+54272,12:
- 53 next
- 54 next
- 60 poke53281,0:s=54296:v=53248:poke2040,13:poke832,128:pokev+29,1:pokev+39,1
- 62 ao=54272
- 65 forex=1to8:e=int(rnd(ti)*35)+4:poke1984+e,184:poke56256+e,5:next
- 70 iff=1then61500
- 80 pokev+21,0:poke1985,177:poke1986,178:poke1987,179:poke1988,180:poke1946,181
- 81 x=38:y=230:g=0:f=f-1
- 82 poke1985+ao,12:poke1986+ao,12:poke1987+ao,12:poke1988+ao,12:poke1946+ao,12
- 90 printf;"[154]shots to go.":print" enter elevation (1-86 deg) [157][157][157][157][157][157][157]:";
- 91 gosub 61000:d=val(b$):print"[157]"
- 95 pokev+16,.:ad=0:poke53248,.:poke53249,.:pokev+31,.
- 100 ifd<1ord>86then90
- 110 r=(NULL)/(180/d):a=tan(r):b=3.3*cos(r):poke1946,182:pokev+21,1:pokes,15:pokes,0
- 115 x=x+b:ifx>255 then x=abs(x-256):pokev+16,1:pokev,x:ad=255
- 120 y=y-(b*a)+g:g=g+.05:ify>250thenforj=0to999:next:goto70
- 130 pokev,x:pokev+1,y
- 140 if peek(v+31)<>1 then 115
- 141 lc=1024+int((y-50)/8)*40+int((x+ad-24)/8)
- 142 if peek(lc)>144andpeek(lc)<150 then 150
- 143 if peek(lc)=184 then ch=185:goto 146
- 144 if peek(lc)=185 then ch=32 :goto 146
- 145 pokelc,int(rnd(1)*4)+145:h=h+1:goto 150
- 146 pokelc,186:forj=1to100:next
- 147 pokelc,187:forj=1to100:next
- 148 pokelc,ch
- 149 :
- 150 pokes,15:pokes,0:pokev+31,.:goto115
- 60500 rem
- 60510 ifa=0 thenprint"[147]"
- 60530 print""
- 60540 print"[158] [223][223][146] [223] [223][146][223] [223][146][223] [223][146][223] [223][146][223] [223][146][223] [223][146][223] [223]"
- 60550 print" [223][223][146] [223][223][146][223][223][146][223][223][146][223][223][146][223][223][146][223][223][146][223][223][146] [223][223][146] [223][223][146][223][223][146][223][223][146][223][223]"
- 60560 print" [223][223][146] [223][223][146][223][223][146][223][223][146][223][223][146][223][223][146][223][223][146][223] [223][146] [223][223][146] [223][223][146][223][223][146][223][223] "
- 60570 print" [223][223][146] [223][223][146][223][223][146][223] [223][146][223][223][146][223][223][146] [223][223][146] [223][223][146] [223] [223][146][223] [164][223]"
- 60580 print" [223] [223][146][223] [223][146][223][223][146][223][223][146][223] [146] [223] [223][146] [223][223][146] [223][223][146][223][223][146][223][223][146][223][223]"
- 60730 print
- 60770 print" [154]proudly presents ...."
- 60780 print
- 60790 print"[155] [176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
- 60800 print"[155] [176][219][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][219][174]"
- 60810 print"[155] [176][219][189] [173][219][174]"
- 60820 print"[155] [221][221] castle siege[155] [221][221]"
- 60830 print"[155] [221][221] [221][221]"
- 60840 print"[155] [221][221] by [155][221][221]"
- 60850 print"[155] [221][221] [221][221]"
- 60860 print"[155] [221][221] bob & david snader [155][221][221]"
- 60870 print"[155] [221][221] [221][221]"
- 60880 print"[155] [221][221] (c) 1987 [155][221][221]"
- 60890 print"[155] [173][219][174] [176][219][189]"
- 60900 print" [173][219][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][219][189]"
- 60910 print" [173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]"
- 60950 return
- 61000 poke198,.:b$="":print"[164]";:w=1
- 61005 geta$:ifa$=""then61005
- 61006 ifa$=chr$(13)then print"[157] ":return
- 61010 ifa$=chr$(20)andw>1 then w=w-1:b$=left$(b$,w-1):print"[157][157] [157][157][164]";:goto 61005
- 61012 ifa$=chr$(20) then 61005
- 61013 if w>2 then 61005
- 61020 ifa$<"0" or a$>"9" then 61005
- 61025 b$=b$+a$:print"[157]"a$;:poke212,.:print"[164]";
- 61030 w=w+1:goto 61005
- 61500 :poke53272,21:poke53269,.
- 61503 print"[147]":ifh>14 then print" the castle was successfully sieged!!
- 61505 [153]:[153]" you made "h"hits"
- 61507 [139] h[179]15 [167] [153]"print better luck next time warrior !!"
- 61510 [153]" do you wish to play again ? "
- 61512 [153]" y)es or n)o "
- 61515 [161]a$:[139]a$[178]""[167]61515
- 61520 [139]a$[178]"y"[176]a$[178]"(NULL)"[167]:[151]53272,21:[137] 7
- 61525 [139]a$[178]"(NULL)"[176]a$[178]"n" [167] 61700
- 61550 [137] 61515
- 61700 [153]"load":[159]15,8,15,"r0:hello connect=hello connect":[132]15,er:[160]15
- 61705 [139] er[179][177]63 [167] [128]
- 61710 [147]"hello connect",8
-