home *** CD-ROM | disk | FTP | other *** search
- 0 lw=peek(186):si=54272:ifa=0thena=1:load"m1....oxo",lw,1
- 1 ifa=1thena=2:load"ms.*",lw,1
- 2 print"[147]":gosub3000:gosub2000
- 3 rem dimzw(299):dim zx(299):dimzu(299):dim zv(299):dim zf(299)
- 4 rem hs$(1)="honey.......":hp(1)=1000
- 5 rem hs$(2)="commodre 64.":hp(2)=900
- 6 rem hs$(3)="player 2....":hp(3)=500
- 7 rem hs$(4)="player 3....":hp(4)=300
- 8 rem hs$(5)="player 4....":hp(5)=100:goto930
- 10 poke808,225:poke775,20:poke788,52:rem control+";" == ende
- 13 sys49152:sys828,1
- 14 kl=1:lv=80:rem hinternabder folge + level-schleife
- 15 fg=2 :rem feld-groesse
- 16 m=0:zw=0:zx=0
- 17 pu=-10
- 18 si=54272:fl=si:fh=si+1:tl=si+2:th=si+3:w=si+4:a=si+5:h=si+6:l=si+24:pokew,0
- 19 :
- 31 open1,8,0,"hs....oxo"
- 32 forza=1to5:input#1,hs$(za):input#1,hp(za):nextza
- 33 close1
- 34 :
- 100 poke53280,0:poke53281,15:poke53334,24
- 101 print"[149] [129][176][192][192][178][192][192][178][192][192][178][192][192][178][192][192][178][192][192][178][192][192][178][192][192][174][144][223]"
- 102 print"[144]punkte:[129][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221][144] [223]"
- 103 forz=0to6
- 104 printtab(07)"[129][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221][144] "
- 105 printtab(07)"[129][171][192][192][219][192][192][219][192][192][219][192][192][219][192][192][219][192][192][219][192][192][219][192][192][179][144] ":ifpu<0thenpu=0
- 106 printtab(07)"[129][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221][144] ":next
- 108 print"[129] [129][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221][144] [146][169] ";
- 109 print" [129][173][192][192][177][192][192][177][192][192][177][192][192][177][192][192][177][192][192][177][192][192][177][192][192][189][144][169][144]";:print" ":print"[145]";pu
- 110 print"[144]level: ":print" 0":print"[144]time: ":print" 0"
- 111 gosub1001:ifaq=0thengoto 600
- 199 :
- 200 rem zufalls-feld
- 201 :
- 202 zu(n)=int(fg*rnd(1)):zv(n)=int(fg*rnd(1))
- 203 zf(n)=int(7*rnd(1))+1
- 204 :
- 209 forn=1tokl
- 210 poke55303+pl(zu(n))+((zv(n)+2*zv(n))*40),zf(n)
- 211 poke55303+40+pl(zu(n))+((zv(n)+2*zv(n))*40),zf(n)
- 212 poke55303+1+pl(zu(n))+((zv(n)+2*zv(n))*40),zf(n)
- 213 poke55303+41+pl(zu(n))+((zv(n)+2*zv(n))*40),zf(n):gosub1400
- 214 forld=0to1+lv:nextld:gosub501:nextn
- 219 goto 301
- 300 rem joystick-abfrage
- 301 ifpeek(56320)=127thenpoke55303+pl(zw)+((zx+2*zx)*40),1:goto301
- 302 ifpeek(56320)<>127thenpoke55303+pl(zw)+((zx+2*zx)*40),0
- 303 ifpeek(56320)=111then m=m+1:goto320
- 304 ifpeek(56320)=119thenzw=zw+1:goto313
- 305 ifpeek(56320)=123thenzw=zw-1:goto313
- 306 ifpeek(56320)=126thenzx=zx-1:goto313
- 307 ifpeek(56320)=125thenzx=zx+1:goto313
- 308 ifpeek(56320)=122thenzw=zw-1:zx=zx-1:goto313
- 309 ifpeek(56320)=121thenzw=zw-1:zx=zx+1:goto313
- 310 ifpeek(56320)=118thenzw=zw+1:zx=zx-1:goto313
- 311 ifpeek(56320)=117thenzw=zw+1:zx=zx+1:goto313
- 312 ifpeek(56320)=063thenend
- 313 ifzw<0thenzw=0
- 314 ifzw>(fg-1)thenzw=(fg-1)
- 315 ifzx<0thenzx=0
- 316 ifzx>(fg-1)thenzx=(fg-1)
- 317 poke55303+pl(zw)+((zx+2*zx)*40),1:poke55303+pl(zw)+((zx+2*zx)*40),0:goto301
- 320 :
- 321 ifzw=zu(m)andzx=zv(m)thengosub505:pu=pu+10:print"";pu:goto340
- 322 goto 520
- 340 print"";fg-1:print"";lv
- 349 ifm=kl then kl=kl+1:m=1:lv=lv-10:gosub700:goto200
- 350 ifpeek(56320)=127thengoto300
- 351 goto 350
- 500 rem feld wieder schwarz
- 501 poke55303+pl(zu(n))+((zv(n)+2*zv(n))*40),0
- 502 poke55303+40+pl(zu(n))+((zv(n)+2*zv(n))*40),0
- 503 poke55303+1+pl(zu(n))+((zv(n)+2*zv(n))*40),0
- 504 poke55303+41+pl(zu(n))+((zv(n)+2*zv(n))*40),0:return
- 505 rem feld farbe und dann schwarz
- 506 poke55303+pl(zw)+((zx+2*zx)*40),zf(m)
- 507 poke55303+40+pl(zw)+((zx+2*zx)*40),zf(m)
- 508 poke55303+1+pl(zw)+((zx+2*zx)*40),zf(m)
- 509 poke55303+41+pl(zw)+((zx+2*zx)*40),zf(m):gosub1411
- 511 poke55303+pl(zw)+((zx+2*zx)*40),0
- 512 poke55303+40+pl(zw)+((zx+2*zx)*40),0
- 513 poke55303+1+pl(zw)+((zx+2*zx)*40),0
- 514 poke55303+41+pl(zw)+((zx+2*zx)*40),0:return
- 519 rem demo
- 520 x=15:forza=0to14step0.5:zu=int(08*rnd(1)):poke53334,24+zu:gosub1310:nextza
- 521 pokew,0:poke53334,24:gosub702:goto800
- 522 ifpeek(56320)=111thenpoke53334,24:aq=0:sys828,1,25:goto 14
- 523 poke53334,24:da=int(8*rnd(1)):db=int(8*rnd(1))
- 524 dc=int(8*rnd(1))
- 525 poke55303+pl(da)+((db+2*db)*40),dc
- 526 poke55303+40+pl(da)+((db+2*db)*40),dc
- 527 poke55303+1+pl(da)+((db+2*db)*40),dc
- 528 poke55303+41+pl(da)+((db+2*db)*40),dc
- 529 goto 522
- 600 print""
- 601 printtab(10)"[129][219][192][192][177][192][192][177][192][192][177][192][192][177][192][192][177][192][192][219]"
- 602 printtab(10)"[129][221][150] [129][221]
- 603 [153][163]10)"for(NULL)def sqr step(NULL)wait(NULL)(NULL)wait stepwaitstepstep(NULL)wait sqr for(NULL)
- 604 printtab(10)"[129][179][150] [169][146][169][223][223][146][223][223][146] [169][146][169][169][146][169][223][223][146] [160][129][171]
- 605 [153][163]10)"for(NULL)def (NULL)(NULL)stepwaitstepstepwaitstep (NULL)(NULL)wait(NULL)(NULL)stepwaitstep for(NULL)
- 606 printtab(10)"[129][221][150] [186] [223][146][169][169][146][169] [223][223][146][223][169] [186] [129][221]
- 607 [153][163]10)"for<defstop !";[199](34):[153][163]19)"on#$wait for-"
- 608 [153][163]10)"for(NULL)stop atnpeeklenstr$valwait for(NULL)
- 609 printtab(10)"[129][221][150] [144]by honey [129][221]
- 610 [153][163]10)"for<defstop for-"
- 611 [153][163]10)"for(NULL)stop for(NULL)
- 612 print"";tab(10)"[129][221] gruesse: [160][129][221]
- 613 [153][163]10)"for<stop second decay for-
- 614 printtab(10)"[129][221][144] kontrast [129][221]
- 615 [153][163]10)"for(NULL)stop chr$(NULL) 64wait! closefor(NULL)
- 616 printtab(10)"[129][179][144] bomb jack [160][129][171]
- 617 [153][163]10)"for(NULL)stop hoerer-club closefor(NULL)
- 618 printtab(10)"[129][221] *druecke feuer* [129][221]
- 619 [153][163]10)"for(NULL)tantan=tantan=tantan=tantan=tantan=tantan(NULL)":y[178]1
- 620 :
- 621 [141]1001
- 622 [139][194](56320)[178]111[167] [151]53334,24:aq[178]1:[158]828,2:[158]828,0,0:[137] 14
- 623 [151]53265,27:[135]da:[135]db:[135]dd:[135]de:[139]de[178]111[167][140]:[145]y [137]630,612
- 624 dc[178][181](8[172][187](1)):df[178][181](8[172][187](1))
- 625 [151]55303[170]pl(da)[170]((db[170]2[172]db)[172]40),dc: [151]55303[170]pl(dd)[170]((de[170]2[172]de)[172]40),df
- 626 [151]55303[170]40[170]pl(da)[170]((db[170]2[172]db)[172]40),dc:[151]55303[170]40[170]pl(dd)[170]((de[170]2[172]de)[172]40),df
- 627 [151]55303[170]1[170]pl(da)[170]((db[170]2[172]db)[172]40),dc:[151]55303[170]1[170]pl(dd)[170]((de[170]2[172]de)[172]40),df
- 628 [151]55303[170]41[170]pl(da)[170]((db[170]2[172]db)[172]40),dc:[151]55303[170]41[170]pl(dd)[170]((de[170]2[172]de)[172]40),df
- 629 [137]622
- 630 :
- 631 [153]"";[163]10)"for(NULL) champion's: closefor(NULL)
- 632 printtab(10)"[129][179][158]";hs$(1);tab(18)"[144]";hp(1)
- 633 printtab(10)"[129][221][144]";hs$(2);tab(18);hp(2)
- 634 printtab(10)"[129][221][144]";hs$(3);tab(18);hp(3)
- 635 printtab(10)"[129][179][144]";hs$(4);tab(18);hp(4)
- 636 printtab(10)"[129][221][144]";hs$(5);tab(18);hp(5)
- 637 printtab(10)"[129][221] *press fire* [160][129][221]":y=2:goto621
- 700 iflv<0thenlv=80:kl=1:m=0:zw=0:zx=0:fg=fg+1:iffg>8thenfg=8
- 701 print"";fg-1:return
- 702 forn=1tokl
- 703 poke55303+pl(zu(n))+((zv(n)+2*zv(n))*40),zf(n)
- 704 poke55303+40+pl(zu(n))+((zv(n)+2*zv(n))*40),zf(n)
- 705 poke55303+1+pl(zu(n))+((zv(n)+2*zv(n))*40),zf(n)
- 706 poke55303+41+pl(zu(n))+((zv(n)+2*zv(n))*40),zf(n):gosub1400
- 707 gosub500:nextn:return
- 800 ifpu<hp(5)then goto 900
- 801 ifpu>hp(1)thenpl=1:gosub940:goto806
- 802 ifpu>hp(2)thenpl=2:gosub940:goto806
- 803 ifpu>hp(3)thenpl=3:gosub940:goto806
- 804 ifpu>hp(4)thenpl=4:gosub940:goto806
- 805 pl=5
- 806 :
- 812 print"":a$="":hs$(pl)="":u=0
- 813 printtab(10)"[129][219][192][192][177][192][192][177][192][192][177][192][192][177][192][192][177][192][192][219]"
- 814 printtab(10)"[129][221] champion's [129][221]"
- 815 printtab(10)"[129][221][144] platz: [160][129][221]":print"[145]";tab(22);pl
- 816 printtab(10)"[129][179][144] [160][129][171]
- 817 [153][163]10)"for(NULL)stop wait........... closefor(NULL)
- 818 printtab(10)"[129][221][144] name [160][129][221]"
- 819 printtab(10)"[129][219][192][192][178][192][192][178][192][192][178][192][192][178][192][192][178][192][192][219][145][145]"
- 820 geta$:ifa$=""thengoto820
- 821 ifa$="[147]"ora$=""ora$=""ora$="[145]"ora$="[157]"ora$="[148]"ora$=""thengoto812
- 822 ifa$=chr$(13)thena$=" ":goto825
- 823 u=u+1:print"[145]"tab(13+u);a$+"[144] ":hs$(pl)=hs$(pl)+a$:gosub1400
- 824 ifu<12thengoto820
- 825 hp(pl)=pu:u=0
- 826 iflen(hs$(pl))=12thengosub 930:goto900
- 827 a$=".":hs$(pl)=hs$(pl)+a$:iflen(hs$(pl))=12then gosub930:goto900
- 828 goto827
- 899 goto900
- 900 :
- 910 print""tab(07)"[129][176][192][192][178][192][192][178][192][192][178][192][192][178][192][192][178][192][192][178][192][192][178][192][192][174][144][223]"
- 911 printtab(07)"[129][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221][144] [223]"
- 912 forz=0to6
- 913 printtab(07)"[129][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221][144] "
- 914 printtab(07)"[129][171][192][192][219][192][192][219][192][192][219][192][192][219][192][192][219][192][192][219][192][192][219][192][192][179][144] "
- 915 printtab(07)"[129][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221][144] ":next
- 916 print"[129] [129][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221] [146][221][144] [146][169] ";
- 917 print" [129][173][192][192][177][192][192][177][192][192][177][192][192][177][192][192][177][192][192][177][192][192][177][192][192][189][144][169][144]";
- 918 print"";
- 919 printtab(8)"[144]g [146][129][191][157][221][144]a [146][129][221][144]m [146][129][221][144]e [146][129][221][144] o[146][129][221][144] v[146][129][221][144] e[146][129][221][144] r"
- 920 printtab(8)"[144] [146][129][191][157][221][144] [146][129][221][144]f [146][129][221][144]i [146][129][221][144] r[146][129][221][144] e[146][129][221][144] [146][129][221][144] "
- 921 goto522
- 930 :
- 931 open1,8,1,"@:hs....oxo"
- 932 forza=1to5:print#1,hs$(za)
- 933 print#1,hp(za):nextza
- 934 close1:return
- 940 pa=pl
- 941 hs$(pl+1)=hs$(pl):hp(pl+1)=hp(pl):pl=pl+1:ifpl=6then goto943
- 942 goto941
- 943 pl=pa:return
- 999 :
- 1000 rem
- 1001 forza=0to7:pl(za)=41+(3*za):nextza:return
- 1100 data0,0,7,7,0,1,7,6,0,2,7,5,0,3,7,4,0,4,7,3,0,5,7,2,0,6,7,1
- 1101 data0,7,7,0,1,7,6,0,2,7,5,0,3,7,4,0,4,7,3,0,5,7,2,0,6,7,1,0
- 1102 data 0,0,0,111
- 1300 rem sounds.
- 1310 x=x-0.5
- 1320 pokel,x:pokea,15:pokeh,0:pokefh,05:pokefl,103:pokew,129:return
- 1340 si=54272:fl=si:fh=si+1:tl=si+2:th=si+3:w=si+4:a=si+5:h=si+6:l=si+24:pokew,0
- 1400 pokesi+24,10:pokesi+7,0:pokesi+8,30*(zu(n)+zv(n))+7:pokesi+13,240
- 1410 pokesi+9,0:pokesi+10,8:pokesi+11,65:fort=0to15:nextt:pokesi+11,0:return
- 1411 :
- 1412 pokesi+10,8:pokesi+11,65:fort=0to15:nextt:pokesi+11,0:return
- 2000 a$="z1....oxo"
- 2001 sys(57812)a$,8,0
- 2002 poke780,0:poke781,0:poke782,48:rem file relativ nach 12288 (=48*256) laden
- 2003 sys62622:rem load-routine
- 2004 ifst and 191thenprint:print"ladefehler ?":goto2008
- 2005 poke657,128:rem shift/commodore ausschalten
- 2006 poke53272,29:rem zeichensatz bei 12288 einschalten (normal=21)
- 2007 return
- 2008 open1,8,15:input#1,nr$,na$,tr$,se$:close1
- 2009 printnr$","na$","tr$","se$
- 2010 poke198,0:wait198,1:return
- 3000 print"[147]":poke53280,0:poke53281,0
- 3001 print" oxo - taktikspiel by honey (c) 1996 "
- 3002 print" [163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163] "
- 3003 print" geschrieben in 3 stunden "
- 3004 print" joystick port (1) spielstart : space "
- 3005 print" um das level zu beginnen gehen sie "
- 3006 print" mit dem cursor auf das erste feld "
- 3007 print" links oben und druecken sie den knopf"
- 3008 print" das spiel ist aehnlich dem sensor "
- 3009 print" der computer gibt ihnen eine feld- "
- 3010 print" folge vor die sie wiederholen muessen"
- 3011 print" wobei sich die folge und die feld- "
- 3012 print" dimension mit den levels steigert. "
- 3013 print" viel spass ! [space]";
- 3014 geta$:ifa$=" "thenprint"[147]":poke53265,11:return
- 3015 goto3014
- 3999 return
-