home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Rockford Magazine
/
Rockford_Magazine_022_19xx_-_de_Disk_1_of_4_Side_B.d64
/
duckshoot_rof
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
4KB
|
140 lines
1 rem duckshoot - improvements by - jim green and his c-128, jaggy tu.
6 poke59468,12:poke53280,5:poke53281,15:print"[147][152]":ifkk=0thengosub 571:goto16
11 gosub 576
16 d=0:b=0:tl=5:w=0:mk=0
21 print"[147][152]good hunting";
26 n=17*rnd(1):ifb<>0thengosub 341
31 ifw=tlord=20goto 191
36 ifn>12thenin=-.6*rnd(1):goto46
41 in=.6*rnd(1)
46 gosub 256:t=1:c=4:f=0
51 form=0to36step2:n=n+inc:c$=str$(w)
56 print"shots=";mid$(c$,2,2)
61 fori=1ton:print"";:next
66 fori=1tom:print"";:next
71 ifmk=1goto 376
76 ont+2gosub171,161,161
81 gosub 181
86 iff=0thengeta$:ifa$=""goto111
91 ifa$<>" "thenprint"[150] must be <space> to fire[152]";:goto111
96 iff=0thenw=w+1
101 f=1
106 gosub 271:c=c+2
111 t=-t:nextm:d=d+1
116 iff=0goto131
121 ifc>22thengosub 686:goto131
126 gosub 271:c=c+2:goto121
131 ifw>4goto26
136 ifw=1andb=0thenprint"[150]hard luck [152]"
141 ifw=2andb=0thenprint"[158]missed again! [152]"
146 ifw=3andb=0thenprint"you need more practice! [152]"
151 ifw=4andb=0thenprint"you're a total washout! "
156 goto26
161 print" [154][169][223][146] [157][157][157][157][152][192][192][192][192]";
166 return
171 print"[152][192][192][192][192][157][157][157][154][223][169] [152]";
176 return
181 fork=1to50:next
186 print"[157][157][157][157] [145][157][157][157][157] ";:return
191 print"[147][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162]";
196 print" ";z$;" has bagged";b;"out of a
201 [153]" possible maximum of";tl;"ducks":[141] 666
206 [153]"newnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnew";
211 [153]" type y to try again or n
216 print" to terminate the program
221 [153]"newnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnew";
226 jg[178]14:[141] 416
231 [161]a$:[139]a$[179][177]"y"[175]a$[179][177]"n"[167]231
236 [141] 666
241 [139]a$[178]"y"[167][156]:kk[178]1:[137]6
251 jg[178]4:[141] 481:[153]" walter says 'bye'!!":[128]
256 [153]"";
261 [153]"defnewtab(waitnew";
266 [142]
271 [139]c[177]22[167][142]
276 [153]"";
281 [153]"";
286 [153]"";
291 [129]g[178]1[164]c[169]2:[153]"onon";:[130]
296 [153]" cmdononsys(NULL)print#";
301 [139]c[178]22[167][153]"cmd ";
306 [139]m[179][177]18[167][142]
311 iv[178][181](24[171]n)
316 [139]c[179]iv[171]1[176]c[177]iv[170]1[167][142]
321 [153]"cmd ";
326 b[178]b[170]1
331 [141] 341
336 mk[178]1:[137]56
341 [153]"you have bagged";b;
346 [153]"cmd duck ";
351 [139]b[177]1[167][153]"cmdcmdcmds ";
356 [139]b[178]1[167][153]"beginners luck!
361 ifb>1thenprint" "
366 forbi=1to6:gosub 666:next
371 return
376 fori=1to(24-n)/2
381 gosub161
386 fork=1to30:next
391 print"[145][157][157][157][157] [157][157][157][157] [157][157][157][157]";
396 nexti
401 gosub161
406 mk=0:jg=8:gosub 411:goto26
411 print"[156]walter is retrieving your duck";
416 poke646,jg:print"";
421 forj=1to16
426 print" [223][146][157][157][157][157][223][146] [146][157][157][157][157][157] [146] [157][157][157][157][157][223][146] [223][146] ";
431 fori=1to50:next
436 gosub 456
441 print" [169][146][157][157][157][157][157][157][169][146] [169][215][223][146][157][157][157][157][157][157] [146][223][169][157][157][157][157][157][157][157][169][146] [169][146] ";
446 fori=1to50:next
451 gosub 456:nextj:gosub 466:return
456 print"[157][157][157][157][157][157][157] [145][157][157] [145][157][157] [145][157]";
461 return
466 print" [157][157][157][157][157][157] [157][157][157][157][157][157] [157][157][157][157][157][157] ";
471 print" ";
476 return
481 print"[147]";
486 print" [154][176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174][146]"
491 print" [221][176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174][221][146]"
496 print" [221][221][146] [221][221][146]"
501 print" [221][221][146] [221][221][146]"
506 print" [221][221][146] [150] [146] [169] [223][146] [146] [154][221][221][146]"
511 print" [221][221][146] [150] [146] [146] [146] [146] [158][209] [154][221][221][146]"
516 print" [221][221][146] [150] [146] [146] [223] [223][146] [146] [158][209][150][215][158][209] [154][221][221][146]"
521 print" [221][221][146] [150] [146] [146] [146] [146] [158][209] [154][221][221][146]"
526 print" [221][221][146] [150] [146][161] [223] [146][169] [183][146] [154][221][221][146]"
531 print" [221][221][146] [221][221][146]"
536 print" [221][221][146] qs! alliance [154][221][221][146]"
541 print" [221][221][146] duck--shoot [154][221][221][146]"
546 print" [221][221][146] [221][221][146]"
551 print" [221][173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189][221][146]"
556 print" [173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189][146]":gosub 666
561 fori=1to1000:next:gosub 416:gosub 666
566 return
571 jg=12:gosub 481
576 print"[147][152][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162]";
581 print" you are cordially invited to
586 [153]" join qs! alliance's duck-shoot
591 print"[162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162]";
596 z$="jaggy"
601 print" this duckshooters name is-
606 [153]" type name & press <return>.";
611 [133]z$
616 [153]"newnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnewnew";
621 [153]" the object is to shoot as many
626 print" ducks as possible. your rifle
631 [153]" is located at the bottom center
636 print" of the screen and is fired by
641 [153]" pressing <space> on the keyboard.
646 print" type l to locate ducks.":gosub 666
651 geta$:ifa$=""goto 651
656 gosub 666
661 return
666 rem ***bipp***
671 s=54272
676 pokes,168:pokes+1,97:pokes+2,0:pokes+3,8:pokes+5,34:pokes+6,34:pokes+24,15
681 pokes+4,65:forq=1to50:next:pokes+4,0:return
686 rem razzy
691 s=54272:pokes+24,15:pokes+23,0:pokes+6,240:pokes+1,4:pokes+5,0:pokes+4,33
696 forz= 824to512step-8:pokes+1,z/256:pokes,zand255:next:pokes+4,0:return