home *** CD-ROM | disk | FTP | other *** search
- 10 print"[147]":rem tiere raten
- 20 print:print" tiere raten"
- 30 print" ***********"
- 40 print:print:print" es sind tiere mit 5 buchstaben"
- 50 print:print" zu erraten!"
- 60 print:print:print" ich sage dir, wieviele buchstaben"
- 70 print:print" stimmen und wieviele an richtiger"
- 80 print:print" stelle stehen!"
- 90 print:print:print" die buchstaben werden ohne"
- 100 print:print" return-taste eingegeben!"
- 110 dimb$(250)
- 115 dataa,p,a,o,r,k,r,s,k,k,f,l,g,l,w,r,i,a,m,b,k,b,l,h,b
- 120 dataw,t,e,g,p,e,w,s,m,o,d,s,z,n,h,p,s,s,p,d,t,k,r,z,b
- 125 datad,f,s,t,a,r,a,t,a,r,u,a,e,o,a,a,l,m,e,u,a,a,u,e,i
- 130 datae,i,n,e,a,c,a,c,i,c,a,t,e,a,e,i,p,p,u,o,a,a,o,i,i
- 135 datal,e,s,t,u,a,l,u,t,e,c,c,m,e,n,t,t,s,i,l,t,c,c,c,e
- 140 datas,g,t,i,n,h,r,h,l,h,c,i,b,n,n,r,a,i,d,h,p,m,b,e,s
- 145 datae,r,e,e,p,k,l,t,z,b,h,h,s,w,z,t,i,e,s,l,e,h,h,h,n
- 150 datap,e,e,e,d,s,a,a,a,s,h,e,r,d,n,o,t,t,e,l,i,e,b,g,o
- 155 datar,d,l,r,e,e,e,e,e,s,s,s,e,e,e,e,s,l,e,e,r,e,s,t,e
- 160 datae,r,r,r,a,e,n,f,n,e,s,r,a,u,e,l,z,z,l,e,r,l,e,e,n
- 170 fori=1to250:readb$(i):nexti
- 180 printtab(30);:inputf1
- 200 print"[147] wir spielen mit:"
- 210 forj=1to50
- 220 fori=jto250step50
- 230 printb$(i);
- 240 nexti
- 250 print" ";
- 260 nextj
- 400 z=int(rnd(1)*50)+1
- 410 k=0
- 420 forj=zto250step50
- 430 k=k+1:r$(k)=b$(j)
- 440 nextj
- 450 print
- 460 fori=1to5:iff1=7thenprintr$(i);:nexti
- 462 fori=1to100:nexti:print"[157]";
- 464 fori=1to5:iff1=7thenprint" [146][157][157]";:nexti
- 470 print
- 480 print" vorschlag:";
- 490 rem eingabe und richtige stellen pruefen
- 500 fori=1to5
- 510 gett$(i):ift$(i)=""then510
- 520 printtab(12);t$(i);
- 530 ift$(i)=r$(i)thens=s+1
- 540 nexti
- 550 rem pruefen, ob es das tier gibt
- 560 foru=1to50
- 570 i=1:x=0
- 580 forb=uto250step50
- 590 ift$(i)=b$(b)thenx=x+1
- 600 i=i+1
- 610 nextb
- 620 ifx=5then670
- 630 nextu
- 640 print" spielt nicht mit!"
- 650 s=0:t=0:fl=1:goto480
- 660 rem treffer zaehlen
- 670 fori=1to5
- 680 forj=1to5
- 690 ift$(i)=r$(j)thent=t+1:t$(i)="*":r$(j)="+"
- 700 nextj
- 710 nexti
- 720 rem auswertung
- 730 ifs=5then780
- 740 printtab(19)t;"treffer"
- 750 printtab(19)s;"an r. stelle"
- 760 v=v+1
- 770 t=0:s=0:fl=1:goto410
- 780 print:printtab(25)"das ist es!"
- 790 printtab(24)v+1;"versuche"
-