0 Members and 1 Guest are viewing this topic.
:{Ans(1),Ans(2),Ans(3),Ans(4),Ans(5),Ans(6),Ans(7),1:Repeat Ans(7)=2 or Ans(6)≥4:If max(Ans(1)+Ans(3)={1,2,3,4,5,6}) and max(Ans(2)+Ans(4)={1,2,3,4,5,6,7}):Then:If [A](Ans(1)+Ans(3),Ans(2)+Ans(4))=Ans(5):Then:{Ans(1)+Ans(3),Ans(2)+Ans(4),Ans(3),Ans(4),Ans(5),Ans(6)+1,Ans(7),Ans(8:Else:{C,A,‾Ans(3),‾Ans(4),Ans(5),Ans(6),Ans(7)+1,Ans(8:End:Else:{C,A,‾Ans(3),‾Ans(4),Ans(5),Ans(6),Ans(7)+1,Ans(8::End:If Ans(6)≥Ans(8:Then:For(E,A+.1C,‾10:End:{Ans(1),Ans(2),Ans(3),Ans(4),Ans(5),Ans(6),Ans(7),Ans(6:End::End
:For(A,1,7:Matr►List[A],A,L1:sum(L1≠0)+E→E:End:If E<5:Goto AA:0→E:For(A,1,7:0→B:Repeat [A](Ans,A) or Ans=7:Ans+1:End:Ans-1→C:{C,A,1,0,P+1,1,0:prgmCHECKBRD:{C,A,‾1,1,Ans(5),1,0:prgmCHECKBRD:{C,A,0,1,Ans(5),1,0:prgmCHECKBRD:{C,A,1,1,Ans(5),1,0:prgmCHECKBRD:End:real(E→E:If E≠0:Then:If fPart(M)=.5:not(P→P:P+1→[A](10fPart(E),iPart(E:iPart(M→M:Else:If fPart(M)=.5:Return:not(P→P:M+.5→M:prgmCONECTAI:If fPart(M)=0:Return:M-.5→M:not(P→P:Lbl AA:Repeat [A](1,Ans)=0:randInt(1,7:End:Ans→B:0:Repeat Ans=7 or [A](Ans,B):Ans+1:End:P+1→[A](Ans-1,B:Return:End
::0:Menu("MODE?","NO AI/NO CHECK",0,"NO AI/CHECK",1,"EASY AI/CHECK",2:Lbl 2:Ans+1:Lbl 1:Ans+1:Lbl 0:Ans→M:DelVar [A]:{7,7→dim([A]:0→P:prgmDRAWBOAR:Repeat K=45:Output(1,1,P:getKey→K:If K=24:R-1→R:If K=26:R+1→R:If R>7:1→R:If R<1:7→R:Output(2,1," ":Output(2,2R,"V:If K=21:Then:If not([A](1,R:Then:0:Repeat [A](Ans,R) or Ans=7:Ans+1:End:Ans-1→C:P+1→[A](Ans,R:prgmDRAWBOAR::If M=1 or M=2:Then:0→E:R→A:{C,A,1,0,P+1,0,0:prgmCHECKBRD:{C,A,‾1,1,Ans(5),0,0:prgmCHECKBRD:{C,A,0,1,Ans(5),0,0:prgmCHECKBRD:{C,A,1,1,Ans(5),0,0:prgmCHECKBRD:If E>0:Then:Output(1,1,"YOU WIN!!!:Return:End:End:::not(P→P::If M=2:Then:Output(1,1,"THINKING...:prgmCONECTAI:not(P→P:prgmDRAWBOAR:Output(1,1," ":End::End::End:End:Return
:ClrHome:Output(3,1,"1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1":Output(1,1,"DRAWING...:For(B,1,7:For(C,1,6:Output(C+2,2B,sub(" 0O",[A](C,B)+1,1:End:End:Output(1,1," ":