home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Input 64
/
Input_64_85-11_1985_Verlag_Heinz_Weise_de.d64
/
super-memory
(
.txt
)
< prev
Wrap
Commodore BASIC
|
2023-02-26
|
11KB
|
315 lines
5 print"[147]"chr$(142)chr$(8)
10 a=0:fori=0to9:a=a+peek(50240+i):next
20 ifa=1194andpeek(50240)=169thenpoke50257,16
30 fori=0to24:poke54272+i,0:next
100 s=54272:pokes+24,15:pokes+5,17:pokes+6,232:pokes+4,8
105 dim f(16),g(16):zu=0:pu%=10:hy%=10
106 poke53280,0:poke53281,6:v=53265
110 pokev,11:gosub8000:pokev,11:poke53281,0
111 print"[147][159]"chr$(14);:pu%=10:tx=0
115 printtab(10)"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
120 printtab(10)"[211][213][208][197][210] - [205][197][205][207][210][217] [201][201]"chr$(13)tab(10)"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
130 print:print" [194]ei diesem [211]piel muessen [211]ie alle [218]ah-"
140 print:print" len im [197]ingabefeld auf den [215]ert neun"
150 print:print" bekommen. [202]e schneller [211]ie das schaf-"
160 print:print" fen, desto mehr [208]unkte erhalten [211]ie."
170 print:print" [201]m linken [198]eld ist die [212]astatur-[194]ele-"
180 print:print" gung zu sehen. [215]enn [211]ie nun eine [212]aste"
190 print:print" druecken, die in diesem [198]eld liegt,"
200 print:print" erhoehen sich die [215]erte der [200]orizonta-"
201 print:print" len und [214]ertikalen um eins."
205 pokev,27:gosub7000:pokev,11
206 print"[147][159]"tab(10)"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
207 printtab(10)"[211][213][208][197][210] - [205][197][205][207][210][217] [201][201]"chr$(13)tab(10)"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
215 print" [193]m [193]nfang des [211]pieles haben [211]ie 10"
220 print" [208]unkte, die alle fuenf [211]ekunden um"
225 print" eins verringert werden. [214]orher aber"
230 print" muessen [211]ie die [193]nzahl der [218]uege ein-"
235 print" geben. [196]ie [218]ahlen werden dann der [218]ug-"
240 print" anzahl entsprechend oft geaendert."
245 print" [202]etzt heisst es, innerhalb der gesetz-";
250 print" ten [218]uganzahl das [211]piel zu gewinnen."
256 pokev,27:gosub7000:pokev,11
257 print"[147]":print:print"";chr$(14)
260 print:print"[211]pielen [211]ie:"
262 print:print:print" [205]it [218]eit.............1 "
264 print:print:print" [207]hne [218]eit............0"
266 print" [194]itte waehlen:"
268 pokev,27
270 getx$:ifx$=""then270
272 ifx$="0"thenfl=1:goto299
274 ifx$="1"thenfl=0:goto299
276 goto270
299 pokev,11
300 gosub1000:x$=""
305 print"":fori=1to16:printchr$(17);:next
310 print"wieviel zuege:[146]":print" [145][145]";
315 pokev,27:poke198,0
316 cu=0:x$="":a1$=" "
320 geta$:iflen(x$)=3thena$=chr$(20)
330 ifa$=chr$(20)andlen(x$)>0thenx$=left$(x$,len(x$)-1):print"[157] [157]";:gosub7100
340 ifa$=chr$(13)andval(x$)>1thengosub380:goto385
342 ifa$=chr$(13)andval(x$)=1thenprint"[157] [157][157]";:x$=""
344 forw=1to250:next
345 ifcu=0andlen(x$)=2thenprint"[157]"right$(x$,1);:cu=1:goto360
346 ifcu=0thenprint" [157]";:cu=1:goto360
347 ifcu=1andlen(x$)=2thenprint"[157]";right$(x$,1);"[146]";:cu=0
348 ifcu=1thenprint" [146][157]";:cu=0
360 ifa$=""ora$=chr$(20)then320
365 ifa$<"0"ora$>"9"thengosub7070:goto320
370 gosub7100:x$=x$+a$:printa$;:goto320
380 pokes,73:pokes+1,193:pokes+4,33
381 fori=1to200:next:pokes+4,65:return
385 print:print"bitte warten !!!"
390 pokev,11:goto2000
1000 ::
1002 print"[147][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166]"chr$(142);
1003 print"[166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166]";
1004 print"[166][166] [176][192][178][192][178][192][178][192][174] [166][166] [176][192][178][192][178][192][178][192][174]";
1005 print" [166][166] [166][166][166][166] [221]5[221]6[221]7[221]";
1006 print"8[221] [166][166] [221] [221] [221] [221] [221] [166][166] [f1] ";
1007 print" [166][166][166][166] [171][192][219][192][219][192][219][192][179] [166][166] [171][192][219][192]";
1008 print"[219][192][219][192][179] [166][166] [166][166][166][166] [221]t";
1009 print"[221]y[221]u[221]i[221] [166][166] [221] [221] [221] [221] [221] [166][166] ";
1010 print"auf- [166][166][166][166] [171][192][219][192][209][192][219][192][179] [166][166]";
1011 print" [171][192][219][192][209][192][219][192][179] [166][166] geben [166][166]";
1012 print"[166][166] [221]g[221]h[221]j[221]k[221] [166][166] [221] [221] [221] [221] [221]";
1013 print" [166][166] [166][166][166][166][160][171][192][219][192][219][192][219]";
1014 print"[192][179] [166][166] [171][192][219][192][219][192][219][192][179] [166][166] ";
1015 print" [166][166][166][166] [221]v[221]b[221]n[221]m[221] [166][166] [221] [221] ";
1016 print"[221] [221] [221] [166][166] [f7] [166][166][166][166] [173][192]";
1017 print"[177][192][177][192][177][192][189] [166][166] [173][192][177][192][177][192][177][192][189] [166][166] ";
1018 print" [166][166][166][166] tastatur [166][166]";
1019 print" spielfeld [166][166] zuege [166][166]";
1020 print"[166][166] belegung [166][166] ";
1021 print" [166][166] zurueck [166][166][166][166] ";
1022 print" [166][166] [166][166] ";
1023 print" [166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166]";
1024 print"[166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166]";
1025 print"[166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166]";
1026 print"[166][166][166][166][166][166][166][166][166][166][166][166][207][183][183][183][183][183][183][183][183][183][183][183][183]";
1027 print"[183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][208][166][166]";
1028 print"[166][166][180][205] space=pause ";
1029 print" [206][170][166][166][166][166][180] [207][183][183][183][183][183]";
1030 print"[183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183]";
1031 print"[208] [170][166][166][166][166][180] [180] zuege : ";
1032 print" gesamt. [170] [170][166][166][166][166][180] [180]";
1033 print" ";
1034 print" [170] [170][166][166][166][166][180] [180] zeit : ";
1035 print" punkte: [170] [170][166][166]";
1036 print"[166][166][180] [204][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175]";
1037 print"[175][175][175][175][175][175][175][175][175][175][186] [170][166][166][166][166][180][206] ";
1038 print" [160]";
1039 print" [205][170][166][166][166][166][204][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175]";
1040 print"[175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][186][166][166][166][166][166][166][166]";
1041 print"[166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166][166]";
1042 print"[166][166][166][166][166][166][166][166][166]";
1043 print"[157]"chr$(148)"[166]"
1044 return
2000 x=val(x$):j=-1:zu=0
2010 fori=1to16:f(i)=9:next
2020 forb=1tox
2030 f%=rnd(1)*16+1
2040 iff%>8thenf%=f%-8:goto2070
2050 onf%gosub3010,3020,3030,3040,3050,3060,3070,3080
2060 goto2080
2070 onf%gosub3090,3100,3110,3120,3130,3140,3150,3160
2080 fora=1to16:iff(a)=0thenf(a)=9
2090 next:next:fori=1to16:g(i)=f(i):next:gosub1000
2091 print"",,,"[157]"x
2092 l=0:fori=1to16:iff(i)=9thenl=l+1
2093 next:ifl=16then6000
2095 ty=int((x/3)^2*30)
3000 gosub4000:goto5000
3010 fori=1to4:f(i)=f(i)+j:next
3011 f(5)=f(5)+j:f(9)=f(9)+j:f(13)=f(13)+j:return
3020 fori=1to4:f(i)=f(i)+j:next
3021 f(6)=f(6)+j:f(10)=f(10)+j:f(14)=f(14)+j:return
3030 fori=1to4:f(i)=f(i)+j:next
3031 f(7)=f(7)+j:f(11)=f(11)+j:f(15)=f(15)+j:return
3040 fori=1to4:f(i)=f(i)+j:next
3041 f(8)=f(8)+j:f(12)=f(12)+j:f(16)=f(16)+j:return
3050 fori=5to8:f(i)=f(i)+j:next
3051 f(1)=f(1)+j:f(9)=f(9)+j:f(13)=f(13)+j:return
3060 fori=5to8:f(i)=f(i)+j:next
3061 f(2)=f(2)+j:f(10)=f(10)+j:f(14)=f(14)+j:return
3070 fori=5to8:f(i)=f(i)+j:next
3071 f(3)=f(3)+j:f(11)=f(11)+j:f(15)=f(15)+j:return
3080 fori=5to8:f(i)=f(i)+j:next
3081 f(4)=f(4)+j:f(12)=f(12)+j:f(16)=f(16)+j:return
3090 fori=9to12:f(i)=f(i)+j:next
3091 f(1)=f(1)+j:f(5)=f(5)+j:f(13)=f(13)+j:return
3100 fori=9to12:f(i)=f(i)+j:next
3101 f(2)=f(2)+j:f(6)=f(6)+j:f(14)=f(14)+j:return
3110 fori=9to12:f(i)=f(i)+j:next
3111 f(3)=f(3)+j:f(7)=f(7)+j:f(15)=f(15)+j:return
3120 fori=9to12:f(i)=f(i)+j:next
3121 f(4)=f(4)+j:f(8)=f(8)+j:f(16)=f(16)+j:return
3130 fori=13to16:f(i)=f(i)+j:next
3131 f(1)=f(1)+j:f(5)=f(5)+j:f(9)=f(9)+j:return
3140 fori=13to16:f(i)=f(i)+j:next
3141 f(2)=f(2)+j:f(6)=f(6)+j:f(10)=f(10)+j:return
3150 fori=13to16:f(i)=f(i)+j:next
3151 f(3)=f(3)+j:f(7)=f(7)+j:f(11)=f(11)+j:return
3160 fori=13to16:f(i)=f(i)+j:next
3161 f(4)=f(4)+j:f(8)=f(8)+j:f(12)=f(12)+j:return
4000 fori=97to103step2:poke1024+i,f(12+(i-95)/2)+48:next
4005 fori=177to183step2:poke1024+i,f(8+(i-175)/2)+48:next
4010 fori=257to263step2:poke1024+i,f(4+(i-255)/2)+48:next
4015 fori=337to343step2:poke1024+i,f(0+(i-335)/2)+48:next
4020 return
5000 pokev,27:poke198,0:su=1
5001 geta$:su=1:iffl=1thensu=0:goto5006
5002 iftx>50thensu=2
5005 iftx>100thensu=5
5006 iftm>=5thenpu%=pu%-su:tm=0
5007 ifpu%<=0thenpu%=0:goto6300
5008 print""tab(14)zu
5009 printtab(14)tx"[157] ",,"[157]"pu%"[157] "
5010 iffl=0thenifti$>t$thentx=tx+1:t$=ti$:tm=tm+1
5011 ifpu%<0then6200
5012 ifa$=" "thengosub380:goto7400
5014 ifa$=""then5001
5016 ifa$="[133]"thenpu%=0:gosub380:goto6300
5018 ifa$="_"andj<>-1thenj=-1:zu=zu-1:goto5110
5020 ifa$="[136]"thenfori=1to16:f(i)=g(i):next:zu=0:gosub380:gosub4000:goto5000
5030 b$="vbnmghjktyui5678"
5040 forf=1to16:ifa$=mid$(b$,f,1)then5100
5050 next
5060 gosub7070:goto5001
5100 zu=zu+1:tm=0:j=1
5110 pokes,138:pokes+1,58:pokes+4,17
5112 iffl=1thenpu%=pu%-1
5115 iff>8thengoto5140
5120 onfgosub3010,3020,3030,3040,3050,3060,3070,3080
5130 goto5150
5140 onf-8gosub3090,3100,3110,3120,3130,3140,3150,3160
5150 fora=1to16:iff(a)>9thenf(a)=0
5155 iff(a)<0thenf(a)=9
5160 next:pokes+4,32
5170 l=0:fori=1to16:iff(i)=9thenl=l+1
5180 next:pokev,27:ifl=16thengosub4000:goto6000
5190 gosub4000:goto5000
6000 print"[145][145][145][145]"tab(14)zu
6001 print,"[145][145][145][145] "
6002 print,"[145][145] weiter mit space"
6003 getx$:ifx$<>" "then6003
6009 print"[147]"chr$(14)
6012 iffl=1then6020
6015 pu%=pu%+zu*100/tx*((tx>ty)+1.5)*((zu>x)+1.75)/((zu<=x)+1.5)
6020 print" [199]ratuliere, [211]ie haben es geschafft !!!"
6030 print" [214]ersuchen [211]ie es doch noch einmal."
6040 iffl=1thenprint:print:print" [211]ie haben";pu%;"[208]unkte erreicht!"
6045 iffl=1thenprint:print:print:print:print" [215]eiter mit [212]aste ":wait198,1:goto257
6050 print:print:print" [202]etzt mit"x+1"[214]ersuchen."
6051 ifzu<xthengosub7200
6052 ifzu=xthengosub7300
6053 pokes,138:fori=0to100step3
6054 pokes+1,i:pokes+4,17:fora=1to30:next:pokes+4,16:next
6055 print:print" [211]ie haben bis jetzt"pu%"[208]unkte"
6060 x=x+1:j=-1
6070 zu=0:tx=0
6080 gosub7000:pokev,11:goto2010
6200 ifx=1then6300:rem ---- punkte kleiner null ---------------
6210 print"[147]"chr$(14)
6220 print" [204]eider haben [211]ie das [211]piel verloren."
6230 print:print" ihre [204]eistung nicht zufrieden-"
6240 print:print" stellend ist. [211]ie muessen schneller"
6250 print:print" ueberlegen. [203]onzentrieren [211]ie sich"
6260 print:print" etwas mehr auf das [211]piel und lassen"
6270 print:print" [211]ie sich nicht ablenken."
6280 pu%=5:j=-1:poke198,0:gosub7000:goto2010
6300 print"[147][154]"chr$(14)
6310 print" [199][193][205][197][160][207][214][197][210]"
6320 print:print" [211]ie haben"pu%"[208]unkte."
6340 ifpu%<hy%thenprint" [203]ein neuer [210]ekord."
6350 ifpu%>=hy%thenhy%=pu%:print" [197]in neuer [210]ekord."
6360 ifpu%=hy%thenprint:print" [196]as will was heissen !!!"
6370 gosub7000:goto106
7000 print"[156]";
7010 poke198,0:fori=1to75:geta$
7020 ifi<50thenprint" '[215]'[197][201][212][197][210] [145]"
7030 ifi>50thenprint" [145]"
7040 ifa$=""thennext:goto7000
7050 ifa$="w"then7100
7060 gosub7070:goto7000
7070 pokes,1 :pokes+1, 22:pokes+4,33
7080 fori=1to200:next:pokes+4,32
7090 return
7100 pokes,138:pokes+1,58:pokes+4,17
7110 fori=1to100:next:pokes+4,32
7120 poke198,0:return
7200 print:print:print" [211][213][208][197][210] !!!!"chr$(13)" [192][192][192][192][192][192][192][192][192][192][192]"
7210 print:print" [196]as sieht man selten, dass jemand das"
7220 print:print" [211]piel mit weniger [218]uegen als angege-"
7230 print:print" ben gewinnt. [194]onus: ";:i=50*x:pu%=pu%+i
7250 pokes,138:pokes+1,58:pokes+4,33
7260 fora=1to100:next:pokes+4,64
7270 print"[157][157][157] "i"[157] [145]":return
7300 print:print:print" [211][208][201][212][218][197] !!!"chr$(13)" [192][192][192][192][192][192][192][192][192][192]"
7310 print:print" [200]erzlichen [199]lueckwunsch ! [211]ie haben"
7320 print:print" die angegebene [211]chrittzahl nicht"
7330 print:print" ueberschritten [194]onus: ";
7340 i=10*x:pu%=pu%+i
7360 goto7250
7400 poke198,0:gosub7500
7405 print"";
7410 fori=1to50
7420 ifi>30thenprint," [145]"
7430 ifi<30thenprint," spiel in pause [145]"
7440 geta$:ifa$=" "then7470
7450 next
7465 goto7410
7470 print," "
7472 print,"[145][145] space=pause"
7480 gosub7110:gosub4000:goto5000
7500 fori=97to103step2:poke1024+i,160:gosub7520:next
7505 fori=177to183step2:poke1024+i,160:gosub7520:next
7510 fori=257to263step2:poke1024+i,160:gosub7520:next
7515 fori=337to343step2:poke1024+i,160:gosub7520:next:return
7520 pokes,133:pokes+1,6:pokes+4,33
7530 fora=1to50:next:pokes+4,65
7540 return
7550 pokev,11:poke198,0:wait198,1:poke198,0:gosub7070:gosub4000:goto5000
8000 printchr$(142)"[147]******* ";
8001 print"[146]****[149] [144] [154][146] [144] [154][146] [144] [154][146] [144] [154][146] [144] ";
8005 print" [154][146] [144] [154][146] [159] *****[144] [146]**[154] ";
8010 print" [144] [154][146] [144] [154][146] [144] [154][146] [144] [154][146] [144] [154][146] [209][209][144] [146][209][154] [144] [154][146] ";
8015 print"[159] [209][209][159] ***[154] [144][160][160][160][160][160][154][146] [144][160][154][146] [144][160][154][146] [144][160][160][160]";
8020 print"[160][160][154][146] [144][160][160][160][160][146] [209][144][160][160][160][160][146][209][209][209][209][209][209][159] **[154] *[154] ";
8025 print" [144][160][154][146] [144][160][154][146] [144][160][160][160][154][146] [144][160][146] [209][209][209][209][144][160]";
8030 print"[146][209][209][209][144][160][146][209][209][209][209][209][159] *[154] *[144][160][160][160][160][160][154][146] [144][160][160][160][160]";
8035 print"[160][154][146] [144][160][154][146] [144][160][160][160][160][160][146][209][144][160][146][209][209][209][144][160][146][209][209][209][209][209][159] ";
8040 print"[154] *[154] [149] [154][146] *[154] [154][206] [154][206]";
8045 print"[209][209][209][209][209][209][209][209][209][209][209][209][209][154] [159] *[144][160][154][146] [159] [154] [144][160][154][146] [144][160][160]";
8050 print"[160][160][160][154][146] [144][160][154][146] [144][160][154][146] [144][160][160][160][160][160][154][146][206][144][160][160][160][160][160][154][146] [144][160][146][209][209]";
8055 print"[209][144][160][146][221][159] *[144][160][160][154][146] [144][160][160][154][146] [144][160][154][146] [144][160][160][154][146] [144][160][160][154][146][206]";
8060 print"[144][160][154][146] [206] [144][160][154][146] [144][160][154][146] [206] [144][160][154][146][206] [144][160][154][146] [144][160][154][146] [159] [144][160][159][146] [144][160]";
8065 print"[154][146] [144][160][154][146] [144][160][160][160][160][154][146] [144][160][154][146] [144][160][154][146] [144][160][154][146] [144][160][154][146] [144][160][154][146][206][144][160][160][160][160]";
8070 print"[154][146] [206][144][160][154][146] [206] [159] [144][160][159][146] [154] [144][160][154][146] [144][160][154][146] [144][160]";
8075 print"[154][146] [144][160][154][146][206][144][160][154][146] [206] [144][160][154][146] [144][160][154][146] [154][206][144][160][154][146][206] [144][160][154][146] [159] ";
8080 print" [144][160][159][146] [154] [144][160][154][146] [144][160][160][160][160][160][154][146] [144][160][154][146] [144][160][154][146] [144][160][160][160][160][160]";
8085 print"[154][146][206][144][160][154][146][206] [144][160][154][146] [206] [144][160][154][146][206][159] [154] [159] [154] [156] ";
8090 print" ";
8095 print" [154][146] [156] [154] [156][160][154][146] [144] [154][146] [144] [154][146] [159] ";
8100 print" [149][146] [144] [154][146][206] [144] [154][146] [156][160][159][146] [156] [154] [156][160][159][146] [156][160][144] ";
8105 print"[154][146] [144] [152][146] [144] [154][146] [144] [154][146] [206] [159] [154][146][206][159][160][154][146] [206] [144] [154][146][206][144] [154][146] ";
8110 print" [144] [154][146][206][144] [156] [154][146] [156][160][159][146] [156] [159] [154] [156][160][154][146] [144] [154][146] [144] [152][146] [144] [154][146] [144] [154][146] ";
8115 print" [206] [159] [154][146] [159][160][154][146] [144] [154][146] [144] [154][146] [206] [144] [154][146] [144] [154][146] [156][160][154][146] [159] [156] ";
8120 print"[159] [154] [144] [154][146] [144] [152][146] [144] [154][146] [144] [154][146] [159] [154][146] [159] [154][146] [206] ";
8125 print"[144] [154][146][206][144] [154][146] [206][144] [154][146] [144] [154][146] [159] [154] [144] [154][146] [144] [152][146] ";
8130 print" [144] [154][146] [144] [154][146] [206] [206][159][160][154][146] [159] [154][146] [206] [144] [154][146] [144] [154][146] [206] [144] [154][146] [144] ";
8135 print"[154][146] [159] [154] [144] [154][146] [144] [154][146] [159] ";
8140 print" [154][146] [144] [154][146] [144] [154][146] [154][146] ";
8145 print" [154][146] [154][146] ";
8150 print"[154][146] [154][146] [176][192][192][192][192][192][192][192][178][192][192][192]";
8155 print"[192][192][192][192][178][192][192][192][192][192][192][192][178][192][192][192][192][192][192][192][174] ";
8160 print" [221] [160][221] [221] ";
8165 print" [221] [221] [221] von ";
8170 print" [221]andreas[221] sand- [221] april ";
8175 print"[221] [221] [192][192][192] [221][160] [221]";
8180 print"kuehler[221] 1985 [160][221] [221] ";
8185 print" [221] [221] [221] ";
8190 print" [221] [157][157]";chr$(148)chr$(148)" [146]";
8200 poke198,0:pokev,27:wait198,1:gosub7100:return