0 Members and 2 Guests are viewing this topic.
:2->R:Repeat not(Y:"_space_->Str3:DelVar M:Repeat M=16:Output(O,P,"_space_:Output(Y,X,"*:16Y-16+X->_theta_:getKey->K:If Y!=8:Y+(Str2!=sub(Str1,_theta_+16,1->Y:16Y-16+X->_theta_:If K=24 and X>1:X-(Str2!=sub(Str1,_theta_-1,1->X:If K=26 and X<16:X+(Str2!=sub(Str1,_theta_+1,1->X:M+1->M:sub(Str1,112+M,1:If Ans=Str2:Then:Str3+sub(Str2+"_space_"+Str2+Str2+"_space_"+Str2+Str2+Str2,RandInt(1,R),1->Str3:Else:Str3+sub("_space_"+Str2+"_2space_"+Str2+"_3space_",RandInt(1,R),1->Str3:End:End:R+int(R<8 and sub(M->R:Y-1->Y:O-1->O:sub(Str1,17,112)+sub(Str3,2,16->Str1:End
:ClrHome:"OOOO:Ans+Ans+Ans+Ans→Str1:For(B,8,1,‾1):Output(B,10,"*:rand10:Output(B,1,Str1:End:For(A,0,2):Output(4+A,6," :End:Output(5,6," FALL:getKey:Repeat getKey:randInt(1,3,5:Output(8,2,"<PRESS A KEY>:randInt(1,3,5:Output(8,2,Str1:End:Repeat not(I:ClrHome:Disp "0=QUIT","1=RAND","2=LVLS:Input ":",I:If I=1:Then:Input "METHOD: ",A:Input "ROWS: ",L:"O→Str1:ClrHome:If A=1:Then:For(A,1,16L):Output(1,1,int(((A+1)/(16L))100:Str1+sub(" O ",randInt(1,3),1→Str1:End:End:If A=2:Then:For(A,1,L):Output(1,1,int(((A-1)/L)100:randInt(1,3,16→L[size=8]1[/size]:For(B,1,16):Output(2,1,int((B/16)100:Str1+sub(" O ",L[size=8]1[/size](B),1→Str1:End:ClrHome:End:sub(Str1,2,length(Str1)-1→Str1:End:If A=3:Then:randInt(1,2,16→L[size=8]2[/size]:L[size=8]2[/size]→L[size=8]1[/size]:For(A,1,L):Output(1,1,int(((A-1)/L)100:For(B,1,16):Output(2,1,int((B/16)100:If 1=L[size=8]2[/size](B:Then:If 2≠randInt(1,3:Then:1→L[size=8]1[/size](B:Else:2→L[size=8]1[/size](B:End:Else:If 2=randInt(1,2:Then:2→L[size=8]1[/size](B:Else:1→L[size=8]1[/size](B:End:End:Str1+sub(" O",L[size=8]1[/size](B),1→Str1:End:Output(2,2," :L[size=8]1[/size]→L[size=8]2[/size]:End:sub(Str1,2,length(Str1)-1→Str1:End:If A=4:Then:If L>63:Then:Pause "ERROR:" :Ans+Ans:Ans+Ans+Ans+Ans:Ans+Ans+Ans+Ans+Ans:Ans+Ans→Str1:Else:ClrDraw:For(A,1,L):For(B,1,16):Str1+sub(" OO ",randInt(1,6)+randInt(1,6),1→Str1:If "O"=sub(Str1,length(Str1),1:Then:Pxl-On(A-1,B-1:End:End:End:End:If I=2:Then:1→A:ClrHome:Disp "LEVEL?:Repeat K=105:Output(2,1,A:Repeat K:getKey→K:End:A-(K=34 and A≠1)+(K=25→A:Output(2,1," :End:prgmLVL:End:If I=1 or I=2:Then:1→θ:4→X→Y:20→R:int(length(Str1)/16)-6→L:Repeat θ=L or not(Y) or "*"=sub(Str1,Z,1:Output(1,1,sub(Str1,16θ-15,128:DelVar M:Repeat K=34 or M=int(R) or "*"=sub(Str1,Z,1:getKey→K:Output(Y,X,sub(Str1,16(Y+θ-2)+X,1:If θ≠L-1:Then:16(θ+Y-1)-16+X→Z:J-(J≠0)+2(K=25 and not(J) and "O"=sub(Str1,Z+16,1→J:Output(1,15+(int(R)-M<10),int(R-M:If int(R-M)<10:Then:Output(1,15,"∙:End:Y+(not(J) and Y≠8 and "O"≠sub(Str1,Z+16,1))-(J and Y≠1 and "O"≠sub(Str1,Z-16,1→Y:If Y=8 and "O"≠sub(Str1,Z+16,1:Then:int(R)-1→M:End:End:M+1→M:16(θ+Y-1)-16+X→Z:X+(K=26 and "O"≠sub(Str1,Z+1,1) and X≠16)-(K=24 and X≠1 and "O"≠sub(Str1,Z-1,1→X:Output(Y,X,"θ:rand10:End:Y-1→Y:R-.5(3≠int(R→R:θ+(θ≠L→θ:End:ClrHome:If not(Y:Then:Output(1,3,"YOU LOSE:Else:Output(1,3,"YOU WIN:End:End:Pause :EndGenerated by SourceCoder, © 2005 Cemetech
:If A=1:"O//////////////OO//////////////OO/////////OOOOOOOOOOOOOO/+OTOTOOOTTTTOO/++OTOTOOOTTTTOO+++OTOTOOOTTTTOO+++OTOTOOOOOOOOOOO+OOOOOOO+T+T+T+T+T+T+TOOOOOOOOOOOOOOOTOO+T+T+T+T+T+T+TOO+T+T+T+T+T+T+TOO+OOOOOOOOOOOOOOO+OOOOOOOOOOOOOOO++++++++++++++OO++++++++++++++OO++++++++++++++OOLOBSTERRETSBOLOOOOOOOO OOOOOOOO O O OO O O OO O O OO O O OO O O OO O O OO O O OOOOOOOOO O OO O O OO O OOOOOOOOO O O OO OOOOOOOOOOOOOOO OO OOOOOOOOOOOOOOOOO→Str1:If A=2:"////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////O//////////////OOO////////////OOOOO//////////OOOOOOO////////OOOOOOOOO//////OOOOOOOOOOO////OOOOOOOOOOOOO//OOOOOOOOOOOOOO/ OOOOOOOOOOOOOO OOOOOOOOOOOOO OOOOOOOOOOO OOOOOOOOOO OOOOOOOOOO OOOOOOOO OOOOOOOO O OOOOOOOO O OOOOOOOO O OOOOOOO O OOOOOO O OOOOOOO OOOOOOOOOO OOOOOOOOOO OOOOOOOOOO OOOOOOOOOO OOOOOOOOOO O O OOOOOOOOOOO O O OOOOOOOOOO O O OOOOOOOOOOO O O OOOOOOOOOOO OOOOOOOOOOO OOOOOOOOOOOOOOO O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O OO O O O O O O O O O O O O OO O O O O O O O O O O O O OOO OOOO OOOOOOOOOOOOOOO OOOOOOOOOOOOOOO OOOOOOOOOOOOOOO OOOOOOOOOOOOOOO OOOOOOOOOOOOOOO OOOOOOOOOOOOOOO OOOOOOOOOOOOOOO OOOOOOOOOOOOOOO OOOOOOOOOOOOOOO OOOOOOOOOOOOO→Str1:Generated by SourceCoder, © 2005 Cemetech