home *** CD-ROM | disk | FTP | other *** search
- 10 rem russisch roulette =======64
- 20 rem (p) commodore welt team =
- 30 rem ===========================
- 40 rem (c) by guenter kramer =
- 50 rem emsdetten =
- 60 rem =
- 70 rem version 2,0 40z/ascii =
- 80 rem c64 + floppy/datasette =
- 90 rem ===========================
- 100 ifa=1then130
- 110 a=1
- 120 load"rand und sprites",8,1
- 130 gosub3870
- 140 gosub4390
- 150 gosub5440
- 160 gosub5650
- 170 gosub7010
- 180 gosub2700
- 190 poke198,0
- 200 geta$:ifa$=""then200
- 210 _end:end
- 220 rem **************************
- 230 rem ********** setzen punkte *
- 240 rem **************************
- 250 a$=str$(ms(s,36))
- 260 a$=right$(a$,len(a$)-1)
- 270 a$=right$("....."+a$,6)
- 280 a1=7:ifms(s,36)<0thena1=10
- 290 ifs=0then350
- 300 ifs>4thena2=4:a=s-4:gosub390
- 310 ifs<5thena2=1:a=s:gosub410
- 320 a=(a-1)*6+1:a3=0
- 330 a1=14:gosub5160
- 340 goto380
- 350 pokeze,17:pokesp,17:syscu
- 360 a0=150:ifa1=7thena0=144
- 370 printchr$(144)chr$(a0)a$
- 380 return
- 390 _suc,a1,a*2:_suc,a1,a*2-1
- 400 return
- 410 _soc,a1,a*2:_soc,a1,a*2-1
- 420 return
- 430 rem **************************
- 440 rem ************** einsaetze *
- 450 rem **************************
- 460 _sma:_smf,0:_smx,1:_smy,1
- 470 f1=1:a5=s+s:ifs>4thena5=a5-8
- 480 ff=0:kf=0:kb=0
- 490 goto1090
- 500 poke198,0
- 510 gete$:_sme,f1:ife$<>""then610
- 520 fori=1to150:next
- 530 gete$:ife$<>""then610
- 540 _sma,f1
- 550 ifs<5then:_soa,a5:_soa,a5-1
- 560 ifs>4then:_sua,a5:_sua,a5-1
- 570 fori=1to50:next:_sme,f1
- 580 ifs<5then:_soe,a5:_soe,a5-1
- 590 ifs>4then:_sue,a5:_sue,a5-1
- 600 goto510
- 610 e=asc(e$)
- 620 ifz$="1"then750
- 630 ife<>29then660
- 640 ff=ff+1:ifff>35thenff=0
- 650 goto960
- 660 ife<>17then710
- 670 ifff>23then690
- 680 ff=24+int(ff/4):goto960
- 690 ifff<30thenff=30:goto960
- 700 ff=0:goto960
- 710 ife=133then1450
- 720 ife=140then1450
- 730 ife$<"0"ore$>"9"then750
- 740 a0=val(e$):goto1320
- 750 ife$<>"r"then770
- 760 kf=4:e$=chr$(017):goto1030
- 770 ife$<>"s"then790
- 780 kf=5:e$=chr$(017):goto1030
- 790 ife=211thenkf=0:goto840
- 800 ife=193thenkf=1:goto840
- 810 ife=218thenkf=2:goto840
- 820 ife=216thenkf=3:goto840
- 830 goto850
- 840 kb=6:z$="1":goto510
- 850 ife$="b"thenkb=0:goto920
- 860 ife$="d"thenkb=1:goto920
- 870 ife$="k"thenkb=2:goto920
- 880 ife$="a"thenkb=3:goto920
- 890 ife$="n"thenkb=4:goto920
- 900 ife$="z"thenkb=5:goto920
- 910 goto940
- 920 ifz$<>"1"thenkf=6
- 930 z$="":goto1030
- 940 ifz$="1"thenife=13then930
- 950 goto510
- 960 kb=int(ff/4)
- 970 kf=ff-4*kb
- 980 ifff<24then1090
- 990 kb=ff-24:kf=6
- 1000 ifff<30then1090
- 1010 kb=6:kf=ff-30
- 1020 goto1090
- 1030 ifkb+kf=12then610
- 1040 ff=kf+4*kb:ifkb<6andkf<4then1090
- 1050 ifkf=4thenff=34:goto1090
- 1060 ifkf=5thenff=35:goto1090
- 1070 ifkf=6thenff=kb+24:goto1090
- 1080 ifkb=6thenff=kf+30
- 1090 ifms(s,ff)=0then1150
- 1100 ifms(0,s)>35then1120
- 1110 e$=chr$(029):goto610
- 1120 e$=chr$(133)
- 1130 ifms(0,0)=anthene$=chr$(140)
- 1140 goto610
- 1150 ms(0,s)=ms(0,s)+1
- 1160 ifms(0,s)=36thenms(0,0)=ms(0,0)+1
- 1170 _sma,f1:_smx,1,f1:_smf,0,f1
- 1180 _smb,86,11,f1*3-2:_smc,15,f1
- 1190 _smk,po(ff,0),po(ff,1),f1
- 1200 sz=0:_sme,f1
- 1210 a0=28:if(kfand1)=1thena0=144
- 1220 a$=chr$(kf(kf))+chr$(kb(kb))
- 1230 ifkb=5thena$=a$+"0"
- 1240 ifkb<>5thena$=a$+chr$(032)
- 1250 ifff<24then1290
- 1260 ifff<30thena$=chr$(032)+right$(a$,len(a$)-1):goto1290
- 1270 ifff<34thena$=left$(a$,1)+chr$(032)+chr$(032):goto1290
- 1280 a$=chr$(018)+chr$(032)+chr$(032)+chr$(032)
- 1290 pokeze,7:pokesp,18:syscu
- 1300 printchr$(a0)a$chr$(032)
- 1310 goto510
- 1320 _smb,a0+48,11,f1*3-2
- 1330 ifa0>0then1380
- 1340 a0=10
- 1350 _smb,49,11,f1*3-2
- 1360 _smb,48,11,f1*3-1
- 1370 _smx,0,f1
- 1380 ms(s,ff)=a0:ms(s,36)=ms(s,36)-a0
- 1390 ms(0,36)=ms(0,36)+a0
- 1400 f1=f1+1:iff1>8thenf1=1
- 1410 s$="1"
- 1420 gosub250
- 1430 ab=s:s=0:gosub250
- 1440 s=ab:e$=chr$(029):goto1090
- 1450 pokeze,7:pokesp,18:syscu
- 1460 a$=chr$(032)+chr$(032)
- 1470 printa$a$
- 1480 return
- 1490 rem *************************
- 1500 rem ******** pruefen gewinn *
- 1510 rem *************************
- 1520 fors=1toan
- 1530 ifms(s,ff)>0thengosub1580
- 1540 next:return
- 1550 rem *************************
- 1560 rem ****** auszahlen gewinn *
- 1570 rem *************************
- 1580 fori=2to6:_smx,0,i:_smy,0,i
- 1590 _smf,0,i:_smc,6,i:next
- 1600 _smy,1,6
- 1610 _smk,po(ff,0),po(ff,1),6
- 1620 z=ms(s,ff):a$=str$(z)
- 1630 a3=0:a1=11:a=15:gosub5300
- 1640 a$="x"+right$(a$,2)
- 1650 a$=right$(str$(au),2)+a$
- 1660 a=4:a1=13:gosub5300
- 1670 a$=str$(z*au)
- 1680 a1=2:a=11:gosub5300
- 1690 poke198,0
- 1700 a5=s+s:ifs>4thena5=a5-8
- 1710 fori=2to6:_sme,i:next
- 1720 gete$
- 1730 ifs<5then:_soa,a5:_soa,a5-1
- 1740 ifs>4then:_sua,a5:_sua,a5-1
- 1750 fori=1to150:next
- 1760 ifs<5then:_soe,a5:_soe,a5-1
- 1770 ifs>4then:_sue,a5:_sue,a5-1
- 1780 fori=1to50:next
- 1790 ife$=""then1720
- 1800 fori0=1toau
- 1810 ms(s,36)=ms(s,36)+z:gosub250
- 1820 next:a5=s:s=0
- 1830 ms(s,36)=ms(s,36)-z*au:gosub250
- 1840 s=a5
- 1850 fori=2to6:_sma,i:next
- 1860 return
- 1870 rem *************************
- 1880 rem ********* pistolenrunde *
- 1890 rem *************************
- 1900 _sma:_sme,1:_smc,1,1
- 1910 _sma,7:_sma,8
- 1920 sys51200:_rc,0,255
- 1930 fori=2to4
- 1940 _smf,0,i:_smf,255,i+3
- 1950 _smx,1,i:_smx,1,i+3
- 1960 _smy,0,i:_smy,0,i+3
- 1970 _smk,i*48+16,140,i
- 1980 _smk,i*48+16,140,i+3
- 1990 _smc,2,i+3:_smc,10,i:next
- 2000 a$="drehe die"
- 2010 a=4:a1=3:a3=0:gosub5300
- 2020 a$="trommel"
- 2030 a=5:a1=12:gosub5300
- 2040 _smf,0,8:_smc,7,8
- 2050 _smb,87,11,22
- 2060 _smk,po(fp+24,0),po(fp+24,1),8
- 2070 a5=p+p:ifp>4thena5=a5-8
- 2080 poke198,0:_smy,1,8
- 2090 _soa:ifan>4then:_sua
- 2100 ifp>4then:_sue,a5:_sue,a5-1
- 2110 ifp<5then:_soe,a5:_soe,a5-1
- 2120 gete$
- 2130 fori=2to8:_sme,i:next
- 2140 fori=1to150:next
- 2150 fori=2to8:_sma,i:next
- 2160 fori=1to50:next
- 2170 ife$=""then2120
- 2180 a1=int(rnd(1)*6)+50:a=fp
- 2190 a(0)=0:a(1)=1:a(2)=5
- 2200 a(3)=3:a(4)=2:a(5)=4:_sme,8
- 2210 fori=1toa1
- 2220 a=a+1:ifa=6thena=0
- 2230 a0=a(a)
- 2240 _smk,po(a0+24,0),po(a0+24,1),8
- 2250 ifi<(a1-15)then2270
- 2260 forj=1to(i-a1+15)^2:next
- 2270 next
- 2280 ifa0<>fpthen2550
- 2290 gosub7620
- 2300 fori=2to4:_smf,0,i:_smf,255,i+3
- 2310 next
- 2320 a5=int(abs(ms(p,36))/2)
- 2330 ifa5<10thena5=10
- 2340 ms(p,36)=ms(p,36)-a5
- 2350 ms(0,36)=ms(0,36)+a5
- 2360 a$="verlust ="
- 2370 a3=0:a1=3:a=4:gosub5300
- 2380 a$=str$(a5)
- 2390 a1=12:a=7+len(a$)/2:gosub5300
- 2400 fori=2to4:_smc,2,i:_smc,10,i+3
- 2410 _sme,i:_sme,i+3:next
- 2420 poke198,0
- 2430 t1=0:gosub7530
- 2440 forj=1to3
- 2450 gete$
- 2460 fori=1to50:_rc,i,7
- 2470 poket+1,150+i:next
- 2480 fori=1to150:_rc,i,19
- 2490 poket+1,256-i:next
- 2500 ife$<>""thenj=6
- 2510 next:gosub7480
- 2520 _rc,0,255:s=p:gosub250
- 2530 s=0:gosub250
- 2540 fori=f+697toi+5:pokei,15:next
- 2550 fori=1toan:a=i+i
- 2560 ifi>4then2590
- 2570 _soe,a:_soe,a-1
- 2580 goto2610
- 2590 a=a-8
- 2600 _sue,a:_sue,a-1
- 2610 forj=0to35
- 2620 ms(i,j)=0:nextj,i
- 2630 _sma:_rc,0,15:_rc,7,32
- 2640 _rc,9,24:gosub7690
- 2650 sys51200
- 2660 return
- 2670 rem *************************
- 2680 rem ********** spiel laeuft *
- 2690 rem *************************
- 2700 s=0:s$="0"
- 2710 s=s+1:ifs>anthens=1
- 2720 gosub460
- 2730 ife$<>chr$(140)then2710
- 2740 fori=0toan:ms(0,i)=0:next
- 2750 _sma:_smc,0:_smx,1:_smy,0
- 2760 _smf,0:_smk,100,96,1
- 2770 ifs$="0"then3720
- 2780 fori=0to47
- 2790 pokepi+9+i,pi(i)
- 2800 next
- 2810 _sme,1:p=int(rnd(1)*an)+1
- 2820 fp=0:ap=p+p:ifp>4thenap=ap-8
- 2830 poke198,0:a=0
- 2840 gete$
- 2850 fori=1to150:next:_sma,1
- 2860 ifp<5then:_soa,ap:_soa,ap-1
- 2870 ifp>4then:_sua,ap:_sua,ap-1
- 2880 fori=1to50:next:_sme,1
- 2890 ifp<5then:_soe,ap:_soe,ap-1
- 2900 ifp>4then:_sue,ap:_sue,ap-1
- 2910 ife$=""then2840
- 2920 ife$="b"thenfp=0:a=100:a0=96
- 2930 ife$="d"thenfp=1:a=220:a0=96
- 2940 ife$="k"thenfp=2:a=100:a0=172
- 2950 ife$="a"thenfp=3:a=220:a0=172
- 2960 ife$="n"thenfp=4:a=60:a0=140
- 2970 ife$="z"thenfp=5:a=260:a0=140
- 2980 ifa=0then2840
- 2990 _smk,a,a0,1:a$="nichts"
- 3000 fori=2to7:_smf,255,i:next
- 3010 a3=128:a1=3:a=4:gosub5300
- 3020 a$="geht mehr"
- 3030 a1=12:gosub5300
- 3040 fori=2to4:_smk,i*48+16,140,i
- 3050 _smk,i*48+16,140,i+3
- 3060 _smc,2,i+3:_smc,10,i:next
- 3070 forj=2to7:_sme,j:next
- 3080 gosub7690
- 3090 fori=1to23
- 3100 a=int(rnd(1)*i)
- 3110 a0=ka(i):ka(i)=ka(a):ka(a)=a0
- 3120 next
- 3130 forj=2to7:_sma,j:next
- 3140 a$="bitte"
- 3150 fori=2to4:_smf,0,i:_smf,255,i+3
- 3160 _smc,6,i:_smc,14,i+3:next
- 3170 a1=3:a=6:a3=0:gosub5300
- 3180 a$="abheben"
- 3190 a1=12:a=5:gosub5300
- 3200 poke198,0:gk=0
- 3210 gete$
- 3220 fori=1to25:next
- 3230 forj=2to7:_sme,j:next
- 3240 fori=1to250:next
- 3250 forj=2to7:_sma,j:next
- 3260 ife$=""then3210
- 3270 ife$<"0"ore$>"9"then3210
- 3280 e=val(e$)
- 3290 ifgk=0then3310
- 3300 gk=gk+e:goto3350
- 3310 ife=2thengk=20:goto3350
- 3320 ife>3thengk=e:goto3350
- 3330 ife=1thengk=10
- 3340 goto3210
- 3350 gk=ka(gk)
- 3360 a0=int(gk/4):a=gk-4*a0
- 3370 _smf,0,7:_smc,0,7
- 3380 if(aand1)=0then:_smc,2,7
- 3390 _smx,1,7:_smy,1,7
- 3400 _smk,160,100,8:_smf,255,8
- 3410 _smx,1,8:_smc,10,8
- 3420 _smk,160,104,7
- 3430 a$=chr$(83):ifa=1thena$=chr$(065)
- 3440 ifa=2thena$=chr$(090)
- 3450 ifa=3thena$=chr$(088)
- 3460 ifa0=0thena$=a$+chr$(002)
- 3470 ifa0=1thena$=a$+chr$(004)
- 3480 ifa0=2thena$=a$+chr$(011)
- 3490 ifa0=3thena$=a$+chr$(001)
- 3500 ifa0=4thena$=a$+chr$(057)
- 3510 ifa0=5thena$=a$+chr$(049)+chr$(048)
- 3520 a$=chr$(kf(a)-32)+chr$(kb(a0)and63)
- 3530 ifa0=5thena$=a$+"0"
- 3540 ifa0<>5thena$=a$+chr$(032)
- 3550 fori=1tolen(a$)
- 3560 a3=asc(mid$(a$,i,1))
- 3570 _smb,a3,1,18+i:next
- 3580 _sme,7:_sme,8
- 3590 _smx,0,2:_smy,0,2:_smf,0,2
- 3600 _smc,6,2:_smk,24,59,2
- 3610 _smx,0,3:_smy,0,3:_smf,0,3
- 3620 _smc,6,3:_smk,48,59,3
- 3630 _smx,0,4:_smy,0,4:_smf,0,4
- 3640 _smc,6,4:_smk,24,80,4
- 3650 _smx,0,5:_smy,0,5:_smf,0,5
- 3660 _smc,6,5:_smk,48,80,5
- 3670 ff=gk:au=24:gosub1520
- 3680 ff=int(gk/4)+24:au=6:gosub1520
- 3690 ff=gk-4*int(gk/4)+30:au=4:gosub1520
- 3700 ff=34+(gkand1):au=2:gosub1520
- 3710 gosub1900:goto2700
- 3720 fori=2to4:_smf,255,i+3
- 3730 _smk,i*48+16,140,i
- 3740 _smk,i*48+16,140,i+3
- 3750 _smc,2,i+3:_smc,10,i:next
- 3760 a$="ende?"
- 3770 a=6:a1=3:a3=0:gosub5300
- 3780 a$="(j/n)"
- 3790 a=6:a1=12:gosub5300
- 3800 fori=2to7:_sme,i:next
- 3810 gete$:ife$="n"then2700
- 3820 ife$<>"j"then3810
- 3830 return
- 3840 rem *************************
- 3850 rem ********** anfangswerte *
- 3860 rem *************************
- 3870 sys12*4096:a=int(rnd(-ti))
- 3880 _rf,0:_rc,4,255
- 3890 _rc,3,31:_re:_saa:_saf,0
- 3900 printchr$(150)chr$(147)
- 3910 printchr$(158)
- 3920 b=52224:rem ** bildspeicher *
- 3930 f=55296:rem ** farbspeicher *
- 3940 cu=58640:rem crsr-steuerung *
- 3950 ze=214:rem ***** crsr-zeile *
- 3960 sp=211:rem **** crsr-spalte *
- 3970 t=54272:rem *********** sid *
- 3980 pi=64000:rem sprite pistole *
- 3990 dimms(8,36):rem spielerwert *
- 4000 dimpi(47):rem sprite-datas *
- 4010 dimpo(35,1):rem sprite-pos *
- 4020 dimkf(6),kb(6):rem k-bilder *
- 4030 dimka(23):rem kartenstapel *
- 4040 kf(0)=115:kf(1)=97:kf(2)=122
- 4050 kf(3)=120:kf(4)=160
- 4060 kf(5)=160:kf(6)=32
- 4070 kb(0)=66:kb(1)=68:kb(2)=75
- 4080 kb(3)=65:kb(4)=57
- 4090 kb(5)=49:kb(6)=32
- 4100 fori=0to7:a=72+i*24
- 4110 ifi>3thena=a+32
- 4120 po(i,0)=a:po(i,1)=56
- 4130 po(i+8,0)=a:po(i+8,1)=196
- 4140 ifi>3then4180
- 4150 a=84+i*24
- 4160 po(i+16,0)=36:po(i+16,1)=a
- 4170 po(i+20,0)=316:po(i+20,1)=a
- 4180 next
- 4190 po(24,0)=120:po(24,1)=80
- 4200 po(25,0)=224:po(25,1)=80
- 4210 po(26,0)=120:po(26,1)=160
- 4220 po(27,0)=224:po(27,1)=160
- 4230 po(28,0)=72:po(28,1)=120
- 4240 po(29,0)=280:po(29,1)=120
- 4250 po(30,0)=128:po(30,1)=112
- 4260 po(31,0)=224:po(31,1)=112
- 4270 po(32,0)=128:po(32,1)=131
- 4280 po(33,0)=224:po(33,1)=131
- 4290 po(34,0)=160:po(34,1)=120
- 4300 po(35,0)=192:po(35,1)=120
- 4310 fori=0to47:readpi(i):next
- 4320 fori=0to23:ka(i)=i:next
- 4330 fori=51200toi+41
- 4340 reada:pokei,a:next
- 4350 return
- 4360 rem *************************
- 4370 rem ************* titelbild *
- 4380 rem *************************
- 4390 a$="russisch roulette"
- 4400 gosub7280
- 4410 a1=1:a2=7:a3=128
- 4420 gosub4720
- 4430 a=2:a1=8:a2=7
- 4440 gosub5160
- 4450 a=int(len(a$)/2):a1=176-8*a
- 4460 _src,3:_smc,3:_srx,1:_sry,1
- 4470 _srk,168-8*len(a$)
- 4480 _smk,a1,67:_soe:_sme
- 4490 pokeze,3:pokesp,20-a:syscu
- 4500 printa$
- 4510 fori=1to200:next
- 4520 pokeze,7:pokesp,12:syscu
- 4530 print"ein programm von"
- 4540 fori=1to200:next
- 4550 fori=67to200
- 4560 _smk,a1,i
- 4570 next
- 4580 _sma:_sue
- 4590 _smf,0:a$="guenter kramer"
- 4600 a1=1:a2=2:a3=0:_sme
- 4610 _smx,1:_smy,1
- 4620 _smk,56,92
- 4630 gosub4720
- 4640 a=2:a2=2:a1=14
- 4650 gosub5160
- 4660 _rc,2,56
- 4670 _rc,14,31
- 4680 return
- 4690 rem *************************
- 4700 rem ********* rahmen setzen *
- 4710 rem *************************
- 4720 a=len(a$)
- 4730 if(a2and1)=1thengosub4800
- 4740 if(a2and2)=2thengosub4920
- 4750 if(a2and4)=4thengosub5040
- 4760 return
- 4770 rem *************************
- 4780 rem *********** oberer rand *
- 4790 rem *************************
- 4800 fori=1+a1toa+a1
- 4810 _sob,64+a3,1,i:next
- 4820 _sob,73+a3,1,i:_sob,66+a3,9,i
- 4830 _sob,75+a3,14,i
- 4840 fori=a+a1to1+a1step-1
- 4850 _sob,64+a3,14,i:next
- 4860 _sob,74+a3,14,i
- 4870 _sob,66+a3,9,i:_sob,85+a3,1,i
- 4880 return
- 4890 rem *************************
- 4900 rem ********* mittelsprites *
- 4910 rem *************************
- 4920 fori=1+a1toa+a1
- 4930 _smb,64+a3,1,i:next
- 4940 _smb,73+a3,1,i:_smb,66+a3,9,i
- 4950 _smb,75+a3,14,i
- 4960 fori=a+a1to1+a1step-1
- 4970 _smb,64+a3,14,i:next
- 4980 _smb,74+a3,14,i
- 4990 _smb,66+a3,9,i:_smb,85+a3,1,i
- 5000 return
- 5010 rem *************************
- 5020 rem ********** unterer rand *
- 5030 rem *************************
- 5040 fori=1+a1toa+a1
- 5050 _sub,64+a3,1,i:next
- 5060 _sub,73+a3,1,i:_sub,66+a3,9,i
- 5070 _sub,75+a3,14,i
- 5080 fori=a+a1to1+a1step-1
- 5090 _sub,64+a3,14,i:next
- 5100 _sub,74+a3,14,i
- 5110 _sub,66+a3,9,i:_sub,85+a3,1,i
- 5120 return
- 5130 rem *************************
- 5140 rem *********** text setzen *
- 5150 rem *************************
- 5160 if(a2and1)=1thengosub5230
- 5170 if(a2and2)=2thengosub5300
- 5180 if(a2and4)=4thengosub5370
- 5190 return
- 5200 rem *************************
- 5210 rem ************* text oben *
- 5220 rem *************************
- 5230 fori=0tolen(a$)-1
- 5240 a4=asc(mid$(a$,i+1,1))and63
- 5250 _sob,a4+a3,a1,a+i:next
- 5260 return
- 5270 rem *************************
- 5280 rem ************ text mitte *
- 5290 rem *************************
- 5300 fori=0tolen(a$)-1
- 5310 a4=asc(mid$(a$,i+1,1))and63
- 5320 _smb,a4+a3,a1,a+i:next
- 5330 return
- 5340 rem *************************
- 5350 rem ************ text unten *
- 5360 rem *************************
- 5370 fori=0tolen(a$)-1
- 5380 a4=asc(mid$(a$,i+1,1))and63
- 5390 _sub,a4+a3,a1,a+i:next
- 5400 return
- 5410 rem *************************
- 5420 rem **************** anfang *
- 5430 rem *************************
- 5440 printchr$(150)
- 5450 pokeze,12:pokesp,10:syscu
- 5460 print"wieviele mitspieler?"
- 5470 printtab(12)"ohne bankhalter"
- 5480 print
- 5490 poke198,0
- 5500 geta$
- 5510 ifa$<"1"ora$>"8"then5500
- 5520 an=val(a$)
- 5530 printtab(11)an"spieler - ok?"
- 5540 poke198,0
- 5550 geta$
- 5560 ifa$="j"then5610
- 5570 ifa$<>"n"then5550
- 5580 fori=12to24
- 5590 poke781,i:sys59903
- 5600 next:goto5440
- 5610 return
- 5620 rem *************************
- 5630 rem **** spielfeld aufbauen *
- 5640 rem *************************
- 5650 _ra:poke53265,11
- 5660 _sma:_rc,0,15:_rc,7,32
- 5670 _rc,9,24:gosub7690
- 5680 a$=chr$(117)+chr$(099)+chr$(099)
- 5690 a0$=chr$(098)+chr$(032)+chr$(032)
- 5700 a1$=chr$(106)+chr$(099)+chr$(099)
- 5710 a$=chr$(028)+a$+chr$(144)+a$
- 5720 a0$=chr$(028)+a0$+chr$(144)+a0$
- 5730 a1$=chr$(028)+a1$+chr$(144)+a1$
- 5740 a$=a$+a$+chr$(099)+chr$(105)
- 5750 a0$=a0$+a0$+chr$(032)+chr$(098)
- 5760 a1$=a1$+a1$+chr$(099)+chr$(107)
- 5770 a$=a$+chr$(167)+chr$(032)+a$
- 5780 a0$=a0$+chr$(167)+chr$(032)+a0$
- 5790 a1$=a1$+chr$(167)+chr$(032)+a1$
- 5800 a3$=right$(a$,5)
- 5810 a4$=right$(a0$,5)
- 5820 a5$=right$(a1$,5)
- 5830 printchr$(147);
- 5840 fori=1to2
- 5850 printtab(5)a$
- 5860 printtab(5)a0$
- 5870 printtab(5)a0$
- 5880 printtab(5)a0$
- 5890 printtab(5)a0$
- 5900 printtab(5)a1$;
- 5910 pokeze,19:pokesp,0:syscu
- 5920 next
- 5930 pokeze,5:pokesp,0:syscu
- 5940 fori=1to2
- 5950 printchr$(028)a3$tab(35)a3$;
- 5960 printa4$tab(75)a4$;
- 5970 printa4$tab(35)a4$;
- 5980 printchr$(144)a3$tab(75)a3$;
- 5990 printa4$tab(35)a4$;
- 6000 printa4$tab(75)a4$;
- 6010 next
- 6020 printa4$tab(35)a4$;
- 6030 printa4$tab(75)a4$;
- 6040 printa5$tab(35)a5$;
- 6050 pokeze,6:pokesp,0:syscu
- 6060 printtab(46)chr$(109)tab(59);
- 6070 printchr$(167)tab(73)chr$(110)
- 6080 printtab(7)chr$(109)tab(19);
- 6090 printchr$(167)tab(32)chr$(110);
- 6100 printtab(48)chr$(109)tab(59);
- 6110 printchr$(167)tab(71)chr$(110)
- 6120 printtab(9)chr$(109)tab(19);
- 6130 printchr$(167)tab(30)chr$(110);
- 6140 a$=chr$(183)+chr$(183)
- 6150 a$=chr$(183)+a$+a$
- 6160 a0$=chr$(032)+chr$(032)
- 6170 a0$=a0$+a0$
- 6180 a1$=chr$(175)+chr$(175)
- 6190 a1$=chr$(175)+a1$+a1$
- 6200 a2$=chr$(096)+chr$(096)
- 6210 a2$=chr$(096)+a2$+a2$
- 6220 a3$=chr$(018)+a0$+chr$(144)
- 6230 a3$=a3$+a0$+chr$(146)
- 6240 a4$=chr$(028)+chr$(165)
- 6250 a4$=a4$+a0$+chr$(032)
- 6260 printtab(50)chr$(028)chr$(111)a$;
- 6270 printa3$a$chr$(112)
- 6280 printtab(10)a4$a3$;
- 6290 printa0$chr$(032)chr$(167);
- 6300 printtab(50)chr$(028)chr$(165)a2$;
- 6310 printa3$a2$chr$(167)
- 6320 printtab(10)a4$a3$;
- 6330 printchr$(032)a0$chr$(167);
- 6340 printtab(50)chr$(028)chr$(108)a1$;
- 6350 printa3$a1$chr$(186)
- 6360 printtab(9)chr$(110)tab(19);
- 6370 printchr$(167)tab(30)chr$(109);
- 6380 printtab(48)chr$(110)tab(59);
- 6390 printchr$(167)tab(71)chr$(109)
- 6400 printtab(7)chr$(110)tab(19);
- 6410 printchr$(167)tab(32)chr$(109);
- 6420 printtab(46)chr$(110)tab(59);
- 6430 printchr$(167)tab(73)chr$(109)
- 6440 gosub7620
- 6450 a1=2:a=46:a0=3:gosub6770
- 6460 a1=4:a=62:gosub6770
- 6470 a1=11:a=806:gosub6770
- 6480 a1=1:a=822:gosub6770
- 6490 a1=57:a=241:a0=120:gosub6770
- 6500 a1=49:a=276:gosub6770
- 6510 gosub7620
- 6520 pokef+452,2:pokeb+452,83
- 6530 pokef+532,2:pokeb+532,90
- 6540 pokef+467,0:pokeb+467,65
- 6550 pokef+547,0:pokeb+547,88
- 6560 a$=chr$(117)+chr$(096)+chr$(096)
- 6570 a$=a$+right$(a$,2)+chr$(105)
- 6580 a0$=chr$(098)+chr$(032)+chr$(032)
- 6590 a0$=a0$+right$(a0$,2)+chr$(098)
- 6600 a1$=chr$(106)+mid$(a$,2,4)
- 6610 a1$=a1$+chr$(107)
- 6620 pokeze,6:pokesp,0:syscu
- 6630 printspc(17)a$
- 6640 printspc(17)a0$;
- 6650 printspc(34)a1$
- 6660 a$=left$(a$,4)+right$(a$,4)
- 6670 a0$=left$(a0$,4)+right$(a0$,4)
- 6680 a1$=left$(a1$,4)+right$(a1$,4)
- 6690 pokeze,16:pokesp,0:syscu
- 6700 printspc(16)a$
- 6710 printspc(16)a0$;
- 6720 printspc(32)a1$
- 6730 gosub7620:return
- 6740 rem *************************
- 6750 rem ********** kartenbilder *
- 6760 rem *************************
- 6770 a4=0:a2=2:a3=83:gosub6960
- 6780 a3=a1:gosub6960
- 6790 ifa3=49thena3=48:gosub6960
- 6800 a=a+a0
- 6810 a4=0:a2=0:a3=65:gosub6960
- 6820 a3=a1:gosub6960
- 6830 ifa3=49thena3=48:gosub6960
- 6840 a=a+a0
- 6850 a4=0:a2=2:a3=90:gosub6960
- 6860 a3=a1:gosub6960
- 6870 ifa3=49thena3=48:gosub6960
- 6880 a=a+a0
- 6890 a4=0:a2=0:a3=88:gosub6960
- 6900 a3=a1:gosub6960
- 6910 ifa3=49thena3=48:gosub6960
- 6920 return
- 6930 rem *************************
- 6940 rem ************** ausgeben *
- 6950 rem *************************
- 6960 pokef+a+a4,a2:pokeb+a+a4,a3
- 6970 a4=a4+1:return
- 6980 rem *************************
- 6990 rem ****** nullwerte setzen *
- 7000 rem *************************
- 7010 _soa:_sof,0:_soc,3
- 7020 a=130-30*((an-1)and3)
- 7030 ifan>4thena=40
- 7040 gosub7150
- 7050 ifan<5then7090
- 7060 _sua:_suf,0:_suc,14
- 7070 a=130-30*((an-5)and3)
- 7080 gosub7200
- 7090 fors=0toan:gosub250
- 7100 a$=right$(str$(s),1)
- 7110 a$=" - "+a$+" -"
- 7120 a1=3:gosub5160:next
- 7130 _sre:poke53265,27:_re
- 7140 gosub7690:return
- 7150 _soy,1:_sox,0
- 7160 fori=1to7step2
- 7170 _sok,a+i*30,0,i
- 7180 _sok,a+24+i*30,0,i+1
- 7190 next:return
- 7200 _suy,1:_sux,0
- 7210 fori=1to7step2
- 7220 _suk,a+i*30,0,i
- 7230 _suk,a+24+i*30,0,i+1
- 7240 next:return
- 7250 rem *************************
- 7260 rem ********** titel rollen *
- 7270 rem *************************
- 7280 _sma:_smc,7:_smf,0
- 7290 a0$=a$:a$=left$(a0$,8)
- 7300 a3=0:a1=1:a=1:gosub5300
- 7310 t1=0:gosub7530:_smk,0,82:_sme
- 7320 fori=0to120step8
- 7330 _smk,i,82:poket+1,i
- 7340 fork=1to8:_smr,1,k:nextk,i
- 7350 pokeze,3:pokesp,12:syscu
- 7360 _sma:printa$:gosub7620
- 7370 a$=right$(a0$,8):gosub5300
- 7380 t1=0:gosub7530:_smk,360,82:_sme
- 7390 fori=360to192step-8
- 7400 _smk,i,82:poket+1,i-110
- 7410 fork=1to8:_sml,1,k:nextk,i
- 7420 pokeze,3:pokesp,21:syscu
- 7430 _sma:printa$:gosub7620
- 7440 a$=a0$:return
- 7450 rem *************************
- 7460 rem ********** loeschen sid *
- 7470 rem *************************
- 7480 fort0=0to24:poket+t0,0:next
- 7490 return
- 7500 rem *************************
- 7510 rem **************** heulen *
- 7520 rem *************************
- 7530 gosub7480
- 7540 poket,t1-256*int(t1/256)
- 7550 poket+1,int(t1/256)
- 7560 poket+6,255:poket+5,15
- 7570 poket+24,15:poket+4,33
- 7580 return
- 7590 rem *************************
- 7600 rem **************** schuss *
- 7610 rem *************************
- 7620 gosub7480
- 7630 poket+5,9:poket+1,21
- 7640 poket+24,15:poket+4,129
- 7650 return
- 7660 rem *************************
- 7670 rem ****************** gong *
- 7680 rem *************************
- 7690 gosub7480
- 7700 poket+1,8:poket,180
- 7710 poket+5,12:poket+8,15
- 7720 poket+7,247
- 7730 poket+15,13:poket+14,10
- 7740 poket+12,12:poket+19,12
- 7750 poket+24,15:poket+4,23
- 7760 poket+11,23:poket+18,23
- 7770 return
- 7780 data 048,001,144,048,127,200
- 7790 data 255,129,232,255,191,240
- 7800 data 000,129,248,000,127,248
- 7810 data 000,017,248,000,017,252
- 7820 data 000,009,252,000,007,252
- 7830 data 000,003,252,000,001,252
- 7840 data 000,001,252,000,001,252
- 7850 data 000,000,252,000,000,120
- 7860 data 169,216,133,252,160,000
- 7870 data 132,251,177,251,041,015
- 7880 data 201,000,208,006,169,255
- 7890 data 145,251,208,008,201,015
- 7900 data 208,004,169,240,145,251
- 7910 data 200,208,231,230,252,165
- 7920 data 252,201,220,208,223,096
- 7930 rem russisches roulette ===64
- 7940 rem 038911 bytes memory =
- 7950 rem 017371 bytes program =
- 7960 rem 000000 bytes variables =
- 7970 rem 000000 bytes arrays =
- 7980 rem 000000 bytes strings =
- 7990 rem 000000 bytes free (0) =
- 8000 rem =========================
-