//------------------ SetUpPieceClass12 -------------------// import java.awt.*; import java.applet.*; import java.io.*; import java.lang.String; import java.util.Random; import java.util.Date; public class mySetUpPiece12 { final int RR=0, LL=1, DD= 2,UU =3; void TP_DoSetUpEternityPiece12(myPieceTypeClass gPieceType[]) { //---------------------- 120 --------------// gPieceType[120].totalnum=8; gPieceType[120].num0=4; gPieceType[120].num1=4; gPieceType[120].mytype[0].loc[0].h=2; gPieceType[120].mytype[0].loc[0].v=0; gPieceType[120].mytype[0].loc[1].h=0; gPieceType[120].mytype[0].loc[1].v=1; gPieceType[120].mytype[0].loc[2].h=1; gPieceType[120].mytype[0].loc[2].v=1; gPieceType[120].mytype[0].loc[3].h=2; gPieceType[120].mytype[0].loc[3].v=1; gPieceType[120].mytype[0].loc[4].h=3; gPieceType[120].mytype[0].loc[4].v=1; gPieceType[120].mytype[0].loc[5].h=1; gPieceType[120].mytype[0].loc[5].v=2; gPieceType[120].mytype[0].loc[6].h=2; gPieceType[120].mytype[0].loc[6].v=2; gPieceType[120].mytype[0].loc[7].h=3; gPieceType[120].mytype[0].loc[7].v=2; gPieceType[120].mytype[0].full[0]=false; gPieceType[120].mytype[0].full[1]=false; gPieceType[120].mytype[0].full[2]=true; gPieceType[120].mytype[0].full[3]=true; gPieceType[120].mytype[0].full[4]=true; gPieceType[120].mytype[0].full[5]=true; gPieceType[120].mytype[0].full[6]=false; gPieceType[120].mytype[0].full[7]=false; gPieceType[120].mytype[0].up[0]=true; gPieceType[120].mytype[0].up[1]=false; gPieceType[120].mytype[0].up[2]=true; gPieceType[120].mytype[0].up[3]=false; gPieceType[120].mytype[0].up[4]=true; gPieceType[120].mytype[0].up[5]=false; gPieceType[120].mytype[0].up[6]=true; gPieceType[120].mytype[0].up[7]=false; gPieceType[120].mytype[0].halfindex[0][0]=DD; gPieceType[120].mytype[0].halfindex[0][1]=LL; gPieceType[120].mytype[0].halfindex[1][0]=RR; gPieceType[120].mytype[0].halfindex[1][1]=LL; gPieceType[120].mytype[0].halfindex[6][0]=LL; gPieceType[120].mytype[0].halfindex[6][1]=RR; gPieceType[120].mytype[0].halfindex[7][0]=UU; gPieceType[120].mytype[0].halfindex[7][1]=LL; //---------------------- 121 --------------// gPieceType[121].totalnum=8; gPieceType[121].num0=4; gPieceType[121].num1=4; gPieceType[121].mytype[0].loc[0].h=1; gPieceType[121].mytype[0].loc[0].v=0; gPieceType[121].mytype[0].loc[1].h=0; gPieceType[121].mytype[0].loc[1].v=1; gPieceType[121].mytype[0].loc[2].h=1; gPieceType[121].mytype[0].loc[2].v=1; gPieceType[121].mytype[0].loc[3].h=2; gPieceType[121].mytype[0].loc[3].v=1; gPieceType[121].mytype[0].loc[4].h=3; gPieceType[121].mytype[0].loc[4].v=1; gPieceType[121].mytype[0].loc[5].h=0; gPieceType[121].mytype[0].loc[5].v=2; gPieceType[121].mytype[0].loc[6].h=1; gPieceType[121].mytype[0].loc[6].v=2; gPieceType[121].mytype[0].loc[7].h=2; gPieceType[121].mytype[0].loc[7].v=2; gPieceType[121].mytype[0].full[0]=false; gPieceType[121].mytype[0].full[1]=true; gPieceType[121].mytype[0].full[2]=true; gPieceType[121].mytype[0].full[3]=true; gPieceType[121].mytype[0].full[4]=false; gPieceType[121].mytype[0].full[5]=true; gPieceType[121].mytype[0].full[6]=false; gPieceType[121].mytype[0].full[7]=false; gPieceType[121].mytype[0].up[0]=true; gPieceType[121].mytype[0].up[1]=true; gPieceType[121].mytype[0].up[2]=false; gPieceType[121].mytype[0].up[3]=true; gPieceType[121].mytype[0].up[4]=false; gPieceType[121].mytype[0].up[5]=false; gPieceType[121].mytype[0].up[6]=true; gPieceType[121].mytype[0].up[7]=false; gPieceType[121].mytype[0].halfindex[0][0]=DD; gPieceType[121].mytype[0].halfindex[0][1]=RR; gPieceType[121].mytype[0].halfindex[4][0]=LL; gPieceType[121].mytype[0].halfindex[4][1]=UU; gPieceType[121].mytype[0].halfindex[6][0]=LL; gPieceType[121].mytype[0].halfindex[6][1]=RR; gPieceType[121].mytype[0].halfindex[7][0]=UU; gPieceType[121].mytype[0].halfindex[7][1]=LL; //---------------------- 122 --------------// gPieceType[122].totalnum=8; gPieceType[122].num0=4; gPieceType[122].num1=4; gPieceType[122].mytype[0].loc[0].h=1; gPieceType[122].mytype[0].loc[0].v=0; gPieceType[122].mytype[0].loc[1].h=0; gPieceType[122].mytype[0].loc[1].v=1; gPieceType[122].mytype[0].loc[2].h=1; gPieceType[122].mytype[0].loc[2].v=1; gPieceType[122].mytype[0].loc[3].h=2; gPieceType[122].mytype[0].loc[3].v=1; gPieceType[122].mytype[0].loc[4].h=3; gPieceType[122].mytype[0].loc[4].v=1; gPieceType[122].mytype[0].loc[5].h=0; gPieceType[122].mytype[0].loc[5].v=2; gPieceType[122].mytype[0].loc[6].h=1; gPieceType[122].mytype[0].loc[6].v=2; gPieceType[122].mytype[0].loc[7].h=2; gPieceType[122].mytype[0].loc[7].v=2; gPieceType[122].mytype[0].full[0]=false; gPieceType[122].mytype[0].full[1]=true; gPieceType[122].mytype[0].full[2]=true; gPieceType[122].mytype[0].full[3]=true; gPieceType[122].mytype[0].full[4]=false; gPieceType[122].mytype[0].full[5]=true; gPieceType[122].mytype[0].full[6]=false; gPieceType[122].mytype[0].full[7]=false; gPieceType[122].mytype[0].up[0]=true; gPieceType[122].mytype[0].up[1]=true; gPieceType[122].mytype[0].up[2]=false; gPieceType[122].mytype[0].up[3]=true; gPieceType[122].mytype[0].up[4]=false; gPieceType[122].mytype[0].up[5]=false; gPieceType[122].mytype[0].up[6]=true; gPieceType[122].mytype[0].up[7]=false; gPieceType[122].mytype[0].halfindex[0][0]=DD; gPieceType[122].mytype[0].halfindex[0][1]=RR; gPieceType[122].mytype[0].halfindex[4][0]=LL; gPieceType[122].mytype[0].halfindex[4][1]=RR; gPieceType[122].mytype[0].halfindex[6][0]=LL; gPieceType[122].mytype[0].halfindex[6][1]=RR; gPieceType[122].mytype[0].halfindex[7][0]=UU; gPieceType[122].mytype[0].halfindex[7][1]=LL; //---------------------- 123 --------------// gPieceType[123].totalnum=8; gPieceType[123].num0=4; gPieceType[123].num1=4; gPieceType[123].mytype[0].loc[0].h=2; gPieceType[123].mytype[0].loc[0].v=0; gPieceType[123].mytype[0].loc[1].h=1; gPieceType[123].mytype[0].loc[1].v=1; gPieceType[123].mytype[0].loc[2].h=2; gPieceType[123].mytype[0].loc[2].v=1; gPieceType[123].mytype[0].loc[3].h=3; gPieceType[123].mytype[0].loc[3].v=1; gPieceType[123].mytype[0].loc[4].h=0; gPieceType[123].mytype[0].loc[4].v=2; gPieceType[123].mytype[0].loc[5].h=1; gPieceType[123].mytype[0].loc[5].v=2; gPieceType[123].mytype[0].loc[6].h=2; gPieceType[123].mytype[0].loc[6].v=2; gPieceType[123].mytype[0].loc[7].h=3; gPieceType[123].mytype[0].loc[7].v=2; gPieceType[123].mytype[0].full[0]=false; gPieceType[123].mytype[0].full[1]=true; gPieceType[123].mytype[0].full[2]=true; gPieceType[123].mytype[0].full[3]=true; gPieceType[123].mytype[0].full[4]=false; gPieceType[123].mytype[0].full[5]=true; gPieceType[123].mytype[0].full[6]=false; gPieceType[123].mytype[0].full[7]=false; gPieceType[123].mytype[0].up[0]=true; gPieceType[123].mytype[0].up[1]=true; gPieceType[123].mytype[0].up[2]=false; gPieceType[123].mytype[0].up[3]=true; gPieceType[123].mytype[0].up[4]=true; gPieceType[123].mytype[0].up[5]=false; gPieceType[123].mytype[0].up[6]=true; gPieceType[123].mytype[0].up[7]=false; gPieceType[123].mytype[0].halfindex[0][0]=DD; gPieceType[123].mytype[0].halfindex[0][1]=RR; gPieceType[123].mytype[0].halfindex[4][0]=RR; gPieceType[123].mytype[0].halfindex[4][1]=DD; gPieceType[123].mytype[0].halfindex[6][0]=LL; gPieceType[123].mytype[0].halfindex[6][1]=RR; gPieceType[123].mytype[0].halfindex[7][0]=UU; gPieceType[123].mytype[0].halfindex[7][1]=LL; //---------------------- 124 --------------// gPieceType[124].totalnum=8; gPieceType[124].num0=4; gPieceType[124].num1=4; gPieceType[124].mytype[0].loc[0].h=1; gPieceType[124].mytype[0].loc[0].v=0; gPieceType[124].mytype[0].loc[1].h=2; gPieceType[124].mytype[0].loc[1].v=0; gPieceType[124].mytype[0].loc[2].h=3; gPieceType[124].mytype[0].loc[2].v=0; gPieceType[124].mytype[0].loc[3].h=4; gPieceType[124].mytype[0].loc[3].v=0; gPieceType[124].mytype[0].loc[4].h=0; gPieceType[124].mytype[0].loc[4].v=1; gPieceType[124].mytype[0].loc[5].h=1; gPieceType[124].mytype[0].loc[5].v=1; gPieceType[124].mytype[0].loc[6].h=2; gPieceType[124].mytype[0].loc[6].v=1; gPieceType[124].mytype[0].loc[7].h=3; gPieceType[124].mytype[0].loc[7].v=1; gPieceType[124].mytype[0].full[0]=true; gPieceType[124].mytype[0].full[1]=true; gPieceType[124].mytype[0].full[2]=true; gPieceType[124].mytype[0].full[3]=false; gPieceType[124].mytype[0].full[4]=false; gPieceType[124].mytype[0].full[5]=true; gPieceType[124].mytype[0].full[6]=false; gPieceType[124].mytype[0].full[7]=false; gPieceType[124].mytype[0].up[0]=true; gPieceType[124].mytype[0].up[1]=false; gPieceType[124].mytype[0].up[2]=true; gPieceType[124].mytype[0].up[3]=false; gPieceType[124].mytype[0].up[4]=true; gPieceType[124].mytype[0].up[5]=false; gPieceType[124].mytype[0].up[6]=true; gPieceType[124].mytype[0].up[7]=false; gPieceType[124].mytype[0].halfindex[3][0]=LL; gPieceType[124].mytype[0].halfindex[3][1]=UU; gPieceType[124].mytype[0].halfindex[4][0]=RR; gPieceType[124].mytype[0].halfindex[4][1]=DD; gPieceType[124].mytype[0].halfindex[6][0]=LL; gPieceType[124].mytype[0].halfindex[6][1]=RR; gPieceType[124].mytype[0].halfindex[7][0]=UU; gPieceType[124].mytype[0].halfindex[7][1]=LL; //---------------------- 125 --------------// gPieceType[125].totalnum=8; gPieceType[125].num0=4; gPieceType[125].num1=4; gPieceType[125].mytype[0].loc[0].h=1; gPieceType[125].mytype[0].loc[0].v=0; gPieceType[125].mytype[0].loc[1].h=0; gPieceType[125].mytype[0].loc[1].v=1; gPieceType[125].mytype[0].loc[2].h=1; gPieceType[125].mytype[0].loc[2].v=1; gPieceType[125].mytype[0].loc[3].h=2; gPieceType[125].mytype[0].loc[3].v=1; gPieceType[125].mytype[0].loc[4].h=3; gPieceType[125].mytype[0].loc[4].v=1; gPieceType[125].mytype[0].loc[5].h=0; gPieceType[125].mytype[0].loc[5].v=2; gPieceType[125].mytype[0].loc[6].h=1; gPieceType[125].mytype[0].loc[6].v=2; gPieceType[125].mytype[0].loc[7].h=2; gPieceType[125].mytype[0].loc[7].v=2; gPieceType[125].mytype[0].full[0]=false; gPieceType[125].mytype[0].full[1]=true; gPieceType[125].mytype[0].full[2]=true; gPieceType[125].mytype[0].full[3]=true; gPieceType[125].mytype[0].full[4]=false; gPieceType[125].mytype[0].full[5]=true; gPieceType[125].mytype[0].full[6]=false; gPieceType[125].mytype[0].full[7]=false; gPieceType[125].mytype[0].up[0]=true; gPieceType[125].mytype[0].up[1]=true; gPieceType[125].mytype[0].up[2]=false; gPieceType[125].mytype[0].up[3]=true; gPieceType[125].mytype[0].up[4]=false; gPieceType[125].mytype[0].up[5]=false; gPieceType[125].mytype[0].up[6]=true; gPieceType[125].mytype[0].up[7]=false; gPieceType[125].mytype[0].halfindex[0][0]=DD; gPieceType[125].mytype[0].halfindex[0][1]=LL; gPieceType[125].mytype[0].halfindex[4][0]=LL; gPieceType[125].mytype[0].halfindex[4][1]=UU; gPieceType[125].mytype[0].halfindex[6][0]=RR; gPieceType[125].mytype[0].halfindex[6][1]=LL; gPieceType[125].mytype[0].halfindex[7][0]=LL; gPieceType[125].mytype[0].halfindex[7][1]=UU; //---------------------- 126 --------------// gPieceType[126].totalnum=8; gPieceType[126].num0=4; gPieceType[126].num1=4; gPieceType[126].mytype[0].loc[0].h=2; gPieceType[126].mytype[0].loc[0].v=0; gPieceType[126].mytype[0].loc[1].h=1; gPieceType[126].mytype[0].loc[1].v=1; gPieceType[126].mytype[0].loc[2].h=2; gPieceType[126].mytype[0].loc[2].v=1; gPieceType[126].mytype[0].loc[3].h=3; gPieceType[126].mytype[0].loc[3].v=1; gPieceType[126].mytype[0].loc[4].h=0; gPieceType[126].mytype[0].loc[4].v=2; gPieceType[126].mytype[0].loc[5].h=1; gPieceType[126].mytype[0].loc[5].v=2; gPieceType[126].mytype[0].loc[6].h=2; gPieceType[126].mytype[0].loc[6].v=2; gPieceType[126].mytype[0].loc[7].h=3; gPieceType[126].mytype[0].loc[7].v=2; gPieceType[126].mytype[0].full[0]=false; gPieceType[126].mytype[0].full[1]=true; gPieceType[126].mytype[0].full[2]=true; gPieceType[126].mytype[0].full[3]=true; gPieceType[126].mytype[0].full[4]=false; gPieceType[126].mytype[0].full[5]=true; gPieceType[126].mytype[0].full[6]=false; gPieceType[126].mytype[0].full[7]=false; gPieceType[126].mytype[0].up[0]=true; gPieceType[126].mytype[0].up[1]=true; gPieceType[126].mytype[0].up[2]=false; gPieceType[126].mytype[0].up[3]=true; gPieceType[126].mytype[0].up[4]=true; gPieceType[126].mytype[0].up[5]=false; gPieceType[126].mytype[0].up[6]=true; gPieceType[126].mytype[0].up[7]=false; gPieceType[126].mytype[0].halfindex[0][0]=DD; gPieceType[126].mytype[0].halfindex[0][1]=LL; gPieceType[126].mytype[0].halfindex[4][0]=RR; gPieceType[126].mytype[0].halfindex[4][1]=LL; gPieceType[126].mytype[0].halfindex[6][0]=RR; gPieceType[126].mytype[0].halfindex[6][1]=LL; gPieceType[126].mytype[0].halfindex[7][0]=LL; gPieceType[126].mytype[0].halfindex[7][1]=UU; //---------------------- 127 --------------// gPieceType[127].totalnum=8; gPieceType[127].num0=4; gPieceType[127].num1=4; gPieceType[127].mytype[0].loc[0].h=1; gPieceType[127].mytype[0].loc[0].v=0; gPieceType[127].mytype[0].loc[1].h=0; gPieceType[127].mytype[0].loc[1].v=1; gPieceType[127].mytype[0].loc[2].h=1; gPieceType[127].mytype[0].loc[2].v=1; gPieceType[127].mytype[0].loc[3].h=2; gPieceType[127].mytype[0].loc[3].v=1; gPieceType[127].mytype[0].loc[4].h=3; gPieceType[127].mytype[0].loc[4].v=1; gPieceType[127].mytype[0].loc[5].h=0; gPieceType[127].mytype[0].loc[5].v=2; gPieceType[127].mytype[0].loc[6].h=1; gPieceType[127].mytype[0].loc[6].v=2; gPieceType[127].mytype[0].loc[7].h=2; gPieceType[127].mytype[0].loc[7].v=2; gPieceType[127].mytype[0].full[0]=false; gPieceType[127].mytype[0].full[1]=true; gPieceType[127].mytype[0].full[2]=true; gPieceType[127].mytype[0].full[3]=true; gPieceType[127].mytype[0].full[4]=false; gPieceType[127].mytype[0].full[5]=true; gPieceType[127].mytype[0].full[6]=false; gPieceType[127].mytype[0].full[7]=false; gPieceType[127].mytype[0].up[0]=true; gPieceType[127].mytype[0].up[1]=true; gPieceType[127].mytype[0].up[2]=false; gPieceType[127].mytype[0].up[3]=true; gPieceType[127].mytype[0].up[4]=false; gPieceType[127].mytype[0].up[5]=false; gPieceType[127].mytype[0].up[6]=true; gPieceType[127].mytype[0].up[7]=false; gPieceType[127].mytype[0].halfindex[0][0]=DD; gPieceType[127].mytype[0].halfindex[0][1]=RR; gPieceType[127].mytype[0].halfindex[4][0]=LL; gPieceType[127].mytype[0].halfindex[4][1]=RR; gPieceType[127].mytype[0].halfindex[6][0]=RR; gPieceType[127].mytype[0].halfindex[6][1]=LL; gPieceType[127].mytype[0].halfindex[7][0]=LL; gPieceType[127].mytype[0].halfindex[7][1]=UU; //---------------------- 128 --------------// gPieceType[128].totalnum=8; gPieceType[128].num0=4; gPieceType[128].num1=4; gPieceType[128].mytype[0].loc[0].h=2; gPieceType[128].mytype[0].loc[0].v=0; gPieceType[128].mytype[0].loc[1].h=1; gPieceType[128].mytype[0].loc[1].v=1; gPieceType[128].mytype[0].loc[2].h=2; gPieceType[128].mytype[0].loc[2].v=1; gPieceType[128].mytype[0].loc[3].h=3; gPieceType[128].mytype[0].loc[3].v=1; gPieceType[128].mytype[0].loc[4].h=0; gPieceType[128].mytype[0].loc[4].v=2; gPieceType[128].mytype[0].loc[5].h=1; gPieceType[128].mytype[0].loc[5].v=2; gPieceType[128].mytype[0].loc[6].h=2; gPieceType[128].mytype[0].loc[6].v=2; gPieceType[128].mytype[0].loc[7].h=3; gPieceType[128].mytype[0].loc[7].v=2; gPieceType[128].mytype[0].full[0]=false; gPieceType[128].mytype[0].full[1]=true; gPieceType[128].mytype[0].full[2]=true; gPieceType[128].mytype[0].full[3]=true; gPieceType[128].mytype[0].full[4]=false; gPieceType[128].mytype[0].full[5]=true; gPieceType[128].mytype[0].full[6]=false; gPieceType[128].mytype[0].full[7]=false; gPieceType[128].mytype[0].up[0]=true; gPieceType[128].mytype[0].up[1]=true; gPieceType[128].mytype[0].up[2]=false; gPieceType[128].mytype[0].up[3]=true; gPieceType[128].mytype[0].up[4]=true; gPieceType[128].mytype[0].up[5]=false; gPieceType[128].mytype[0].up[6]=true; gPieceType[128].mytype[0].up[7]=false; gPieceType[128].mytype[0].halfindex[0][0]=DD; gPieceType[128].mytype[0].halfindex[0][1]=RR; gPieceType[128].mytype[0].halfindex[4][0]=RR; gPieceType[128].mytype[0].halfindex[4][1]=DD; gPieceType[128].mytype[0].halfindex[6][0]=RR; gPieceType[128].mytype[0].halfindex[6][1]=LL; gPieceType[128].mytype[0].halfindex[7][0]=LL; gPieceType[128].mytype[0].halfindex[7][1]=UU; //---------------------- 129 --------------// gPieceType[129].totalnum=8; gPieceType[129].num0=4; gPieceType[129].num1=4; gPieceType[129].mytype[0].loc[0].h=2; gPieceType[129].mytype[0].loc[0].v=0; gPieceType[129].mytype[0].loc[1].h=1; gPieceType[129].mytype[0].loc[1].v=1; gPieceType[129].mytype[0].loc[2].h=2; gPieceType[129].mytype[0].loc[2].v=1; gPieceType[129].mytype[0].loc[3].h=3; gPieceType[129].mytype[0].loc[3].v=1; gPieceType[129].mytype[0].loc[4].h=4; gPieceType[129].mytype[0].loc[4].v=1; gPieceType[129].mytype[0].loc[5].h=0; gPieceType[129].mytype[0].loc[5].v=2; gPieceType[129].mytype[0].loc[6].h=1; gPieceType[129].mytype[0].loc[6].v=2; gPieceType[129].mytype[0].loc[7].h=3; gPieceType[129].mytype[0].loc[7].v=2; gPieceType[129].mytype[0].full[0]=false; gPieceType[129].mytype[0].full[1]=true; gPieceType[129].mytype[0].full[2]=true; gPieceType[129].mytype[0].full[3]=true; gPieceType[129].mytype[0].full[4]=false; gPieceType[129].mytype[0].full[5]=false; gPieceType[129].mytype[0].full[6]=true; gPieceType[129].mytype[0].full[7]=false; gPieceType[129].mytype[0].up[0]=true; gPieceType[129].mytype[0].up[1]=true; gPieceType[129].mytype[0].up[2]=false; gPieceType[129].mytype[0].up[3]=true; gPieceType[129].mytype[0].up[4]=false; gPieceType[129].mytype[0].up[5]=true; gPieceType[129].mytype[0].up[6]=false; gPieceType[129].mytype[0].up[7]=false; gPieceType[129].mytype[0].halfindex[0][0]=DD; gPieceType[129].mytype[0].halfindex[0][1]=LL; gPieceType[129].mytype[0].halfindex[4][0]=LL; gPieceType[129].mytype[0].halfindex[4][1]=UU; gPieceType[129].mytype[0].halfindex[5][0]=RR; gPieceType[129].mytype[0].halfindex[5][1]=DD; gPieceType[129].mytype[0].halfindex[7][0]=UU; gPieceType[129].mytype[0].halfindex[7][1]=RR; } }