0 Members and 3 Guests are viewing this topic.
.A2048[FF818181818181FF]->Pic0[FF818199998181FF][FF8189B99D9181FF][FF81FF8181FF81FF][FF81BDA5A5BD81FF][FFA5FFA5A5FFA5FF][FF9999FFFF9999FF][FFC3A59999A5C3FF][FFC3BDBDBDBDC3FF][FFFFC3DBDBC3FFFF][FFFFFFE7E7FFFFFF][FFABD5ABD5ABD5FF][FFFFFFFFFFFFFFFF]DeltaList(40,16)->Pic1[FFFFF0FF00818190818081819F8180F999999980F999999980819981818081998181809F99F999809F99F9998081818981808181898180FFFF8FFF807FFF87FF80000000000000000000000000000000]DiagnosticOffExprOnFullFix 5Fill(L1,16,0)0->I->J->K1->{L1+16}UnArchive "|vA"!If GetCalc("|vA"GetCalc("|vA",20)->QR()ElseGetCalc("|vA")->QEndLOAD()GUI()Repeat getKey(15)If getKeyIf getKey(1)DOWN()EndIf getKey(2)LEFT()EndIf getKey(3)RIGHT()EndIf getKey(4)UP()EndIf getKey(55)R()EndIf getKey(54)H()EndGO()If S>{Q+18}^^rS->{Q+18}^^rEndIf S!=WTEXT()S->WEndEndD()EndSAVE()ClrDraw^^r^^rReturnLbl DOWN0->thetaFor(J,0,3)3->NFor(K,1,3)3-K->I+1->XIf {4*I+J+L1}->V!=0Repeat {4*X+J+L1}->T=V or (T!=V and (T!=0)) or (X=N)X++End{4*X+J+L1}->TIf T!=V and (T!=0)X--EndIf X!=IIf {4*X+J+L1}=0V->{4*X+J+L1}ElseV+1->{4*X+J+L1}X-1->Ne^(V+1)+S->SEnd0->{4*I+J+L1}theta++EndEndEndEndIf thetaN()EndReturnLbl LEFT0->thetaFor(J,0,3)0->NFor(I,1,3)If {4*J+I+L1}->V!=0I-1->XRepeat {4*J+X+L1}->T=V or (T!=V and (T!=0)) or (X=N)X--End{4*J+X+L1}->TIf T!=V and (T!=0)X++EndIf X!=IIf {4*J+X+L1}=0V->{4*J+X+L1}ElseV+1->{4*J+X+L1}X+1->Ne^(V+1)+S->SEnd0->{4*J+I+L1}theta++EndEndEndEndIf thetaN()EndReturnLbl RIGHT0->thetaFor(J,0,3)3->NFor(K,1,3)3-K->I+1->XIf {4*J+I+L1}->V!=0Repeat {4*J+X+L1}->T=V or (T!=V and (T!=0)) or (X=N)X++EndIf (T!=V and (T!=0))X--EndIf X!=IIf {4*J+X+L1}=0V->{4*J+X+L1}ElseX-1->NV+1->{4*J+X+L1}e^(V+1)+S->SEnd0->{4*J+I+L1}theta++EndEndEndEndIf thetaN()EndReturnLbl UP0->thetaFor(J,0,3)0->NFor(I,1,3)I-1->XIf {4*I+J+L1}->V!=0Repeat {4*X+J+L1}->T=V or (T!=V and (T!=0)) or (X=N)X--End{4*X+J+L1}->TIf T!=V and (T!=0)X++EndIf X!=IIf {4*X+J+L1}=0V->{4*X+J+L1}ElseX+1->NV+1->{4*X+J+L1}e^(V+1)+S->SEnd0->{4*I+J+L1}theta++EndEndEndEndIf thetaN()EndReturnLbl SAVEconj(L1,Q,16)S->{Q+16}^^rReturnLbl LOADconj(Q,L1,16){Q+16}^^r->SReturnLbl N16->LRepeat {L1+L}=0rand^16->LEndrand^6/5+1->{L1+L}ReturnLbl R0->S->WFill(L1,16,0N()N()ReturnLbl GO0->HFor(I,0,15)If {I+L1}=0 or (I<12 and ({I+4+L1}={I+L1})) or (I^4!=3 and ({I+1+L1}={I+L1}))1->HEndEnd!If HPause 300ClrDraw^^r^^rIf S={Q+18}^^rRECT(20,17,56,30,~1)Text(30,20,"Game Over!")Text(28,28,"Score:",S>Dec)Text(23,36,"New Highscore!")ElseRECT(24,21,47,21,~1)Text(29,24,"Game Over!"Text(27,32,"Score:",S>Dec)EndDispGraphRepeat getKeyEndR()GUI()EndReturnLbl HClrDraw^^r^^rFor(I,0,11)Pt-On(I/6*48+20,I^6*9+5,I+1*8+Pic0)If I<6Text(29,I*9+6,e^(I+1)>Dec)EndEndText(56,6,"128")Text(56,15,"256")Text(56,24,"512")Text(52,33,"1024")Text(52,42,"2048")Text(52,51,"4096")Text(58,58,"by Toctave"DispGraphRepeat getKeyEndGUI()ReturnLbl RECTHLine({r2},{r1}-{r5},{r1}+{r3}+{r5}HLine({r2}+{r4},{r1}-{r5},{r1}+{r3}+{r5}VLine({r1},{r2}-{r5},{r2}+{r4}+{r5}VLine({r1}+{r3},{r2}-{r5},{r2}+{r4}+{r5}ReturnLbl GUIClrDraw^^r^^rTangent(32,3,Pic1For(I,0,15)Pt-On(I^4*9+31,I/4*9+21,Pic0)^^rEndRECT(29,19,38,38,1RECT(70,21,24,14,~1RECT(70,38,24,14,~1TEXT()ReturnLbl DFor(I,0,15)If {L1+I}Pt-On(I^4*9+31,I/4*9+21,{L1+I}*8+Pic0)EndEndDispGraph^^rWref(31,21,35,35)ReturnLbl TEXTText(72,22,"Score:"Text(73,28,S>DecText(75,39,"Best:"Text(73,45,{Q+18}^^r>DecVLine(94,45,50)VLine(94,28,33)ReturnFix 4