//------------------ SetUpPieceClass18 -------------------// import java.awt.*; import java.applet.*; import java.io.*; import java.lang.String; import java.util.Random; import java.util.Date; public class mySetUpPiece18 { final int RR=0, LL=1, DD= 2,UU =3; void TP_DoSetUpEternityPiece18(myPieceTypeClass gPieceType[]) { //---------------------- 180 --------------// gPieceType[180].totalnum=9; gPieceType[180].num0=3; gPieceType[180].num1=6; gPieceType[180].mytype[0].loc[0].h=2; gPieceType[180].mytype[0].loc[0].v=0; gPieceType[180].mytype[0].loc[1].h=3; gPieceType[180].mytype[0].loc[1].v=0; gPieceType[180].mytype[0].loc[2].h=4; gPieceType[180].mytype[0].loc[2].v=0; gPieceType[180].mytype[0].loc[3].h=0; gPieceType[180].mytype[0].loc[3].v=1; gPieceType[180].mytype[0].loc[4].h=1; gPieceType[180].mytype[0].loc[4].v=1; gPieceType[180].mytype[0].loc[5].h=2; gPieceType[180].mytype[0].loc[5].v=1; gPieceType[180].mytype[0].loc[6].h=3; gPieceType[180].mytype[0].loc[6].v=1; gPieceType[180].mytype[0].loc[7].h=4; gPieceType[180].mytype[0].loc[7].v=1; gPieceType[180].mytype[0].loc[8].h=1; gPieceType[180].mytype[0].loc[8].v=2; gPieceType[180].mytype[0].full[0]=false; gPieceType[180].mytype[0].full[1]=false; gPieceType[180].mytype[0].full[2]=true; gPieceType[180].mytype[0].full[3]=false; gPieceType[180].mytype[0].full[4]=true; gPieceType[180].mytype[0].full[5]=true; gPieceType[180].mytype[0].full[6]=false; gPieceType[180].mytype[0].full[7]=false; gPieceType[180].mytype[0].full[8]=false; gPieceType[180].mytype[0].up[0]=true; gPieceType[180].mytype[0].up[1]=false; gPieceType[180].mytype[0].up[2]=true; gPieceType[180].mytype[0].up[3]=false; gPieceType[180].mytype[0].up[4]=true; gPieceType[180].mytype[0].up[5]=false; gPieceType[180].mytype[0].up[6]=true; gPieceType[180].mytype[0].up[7]=false; gPieceType[180].mytype[0].up[8]=false; gPieceType[180].mytype[0].halfindex[0][0]=DD; gPieceType[180].mytype[0].halfindex[0][1]=RR; gPieceType[180].mytype[0].halfindex[1][0]=RR; gPieceType[180].mytype[0].halfindex[1][1]=LL; gPieceType[180].mytype[0].halfindex[3][0]=RR; gPieceType[180].mytype[0].halfindex[3][1]=LL; gPieceType[180].mytype[0].halfindex[6][0]=LL; gPieceType[180].mytype[0].halfindex[6][1]=RR; gPieceType[180].mytype[0].halfindex[7][0]=UU; gPieceType[180].mytype[0].halfindex[7][1]=LL; gPieceType[180].mytype[0].halfindex[8][0]=UU; gPieceType[180].mytype[0].halfindex[8][1]=RR; //---------------------- 181 --------------// gPieceType[181].totalnum=8; gPieceType[181].num0=4; gPieceType[181].num1=4; gPieceType[181].mytype[0].loc[0].h=0; gPieceType[181].mytype[0].loc[0].v=0; gPieceType[181].mytype[0].loc[1].h=1; gPieceType[181].mytype[0].loc[1].v=0; gPieceType[181].mytype[0].loc[2].h=2; gPieceType[181].mytype[0].loc[2].v=0; gPieceType[181].mytype[0].loc[3].h=3; gPieceType[181].mytype[0].loc[3].v=0; gPieceType[181].mytype[0].loc[4].h=4; gPieceType[181].mytype[0].loc[4].v=0; gPieceType[181].mytype[0].loc[5].h=0; gPieceType[181].mytype[0].loc[5].v=1; gPieceType[181].mytype[0].loc[6].h=1; gPieceType[181].mytype[0].loc[6].v=1; gPieceType[181].mytype[0].loc[7].h=2; gPieceType[181].mytype[0].loc[7].v=1; gPieceType[181].mytype[0].full[0]=true; gPieceType[181].mytype[0].full[1]=false; gPieceType[181].mytype[0].full[2]=true; gPieceType[181].mytype[0].full[3]=true; gPieceType[181].mytype[0].full[4]=false; gPieceType[181].mytype[0].full[5]=false; gPieceType[181].mytype[0].full[6]=true; gPieceType[181].mytype[0].full[7]=false; gPieceType[181].mytype[0].up[0]=true; gPieceType[181].mytype[0].up[1]=false; gPieceType[181].mytype[0].up[2]=true; gPieceType[181].mytype[0].up[3]=false; gPieceType[181].mytype[0].up[4]=true; gPieceType[181].mytype[0].up[5]=false; gPieceType[181].mytype[0].up[6]=true; gPieceType[181].mytype[0].up[7]=false; gPieceType[181].mytype[0].halfindex[1][0]=LL; gPieceType[181].mytype[0].halfindex[1][1]=RR; gPieceType[181].mytype[0].halfindex[4][0]=LL; gPieceType[181].mytype[0].halfindex[4][1]=RR; gPieceType[181].mytype[0].halfindex[5][0]=RR; gPieceType[181].mytype[0].halfindex[5][1]=UU; gPieceType[181].mytype[0].halfindex[7][0]=UU; gPieceType[181].mytype[0].halfindex[7][1]=LL; //---------------------- 182 --------------// gPieceType[182].totalnum=8; gPieceType[182].num0=4; gPieceType[182].num1=4; gPieceType[182].mytype[0].loc[0].h=0; gPieceType[182].mytype[0].loc[0].v=0; gPieceType[182].mytype[0].loc[1].h=1; gPieceType[182].mytype[0].loc[1].v=0; gPieceType[182].mytype[0].loc[2].h=2; gPieceType[182].mytype[0].loc[2].v=0; gPieceType[182].mytype[0].loc[3].h=3; gPieceType[182].mytype[0].loc[3].v=0; gPieceType[182].mytype[0].loc[4].h=4; gPieceType[182].mytype[0].loc[4].v=0; gPieceType[182].mytype[0].loc[5].h=0; gPieceType[182].mytype[0].loc[5].v=1; gPieceType[182].mytype[0].loc[6].h=1; gPieceType[182].mytype[0].loc[6].v=1; gPieceType[182].mytype[0].loc[7].h=2; gPieceType[182].mytype[0].loc[7].v=1; gPieceType[182].mytype[0].full[0]=true; gPieceType[182].mytype[0].full[1]=false; gPieceType[182].mytype[0].full[2]=true; gPieceType[182].mytype[0].full[3]=true; gPieceType[182].mytype[0].full[4]=false; gPieceType[182].mytype[0].full[5]=false; gPieceType[182].mytype[0].full[6]=true; gPieceType[182].mytype[0].full[7]=false; gPieceType[182].mytype[0].up[0]=true; gPieceType[182].mytype[0].up[1]=false; gPieceType[182].mytype[0].up[2]=true; gPieceType[182].mytype[0].up[3]=false; gPieceType[182].mytype[0].up[4]=true; gPieceType[182].mytype[0].up[5]=false; gPieceType[182].mytype[0].up[6]=true; gPieceType[182].mytype[0].up[7]=false; gPieceType[182].mytype[0].halfindex[1][0]=LL; gPieceType[182].mytype[0].halfindex[1][1]=RR; gPieceType[182].mytype[0].halfindex[4][0]=LL; gPieceType[182].mytype[0].halfindex[4][1]=DD; gPieceType[182].mytype[0].halfindex[5][0]=RR; gPieceType[182].mytype[0].halfindex[5][1]=UU; gPieceType[182].mytype[0].halfindex[7][0]=UU; gPieceType[182].mytype[0].halfindex[7][1]=LL; //---------------------- 183 --------------// gPieceType[183].totalnum=8; gPieceType[183].num0=4; gPieceType[183].num1=4; gPieceType[183].mytype[0].loc[0].h=1; gPieceType[183].mytype[0].loc[0].v=0; gPieceType[183].mytype[0].loc[1].h=2; gPieceType[183].mytype[0].loc[1].v=0; gPieceType[183].mytype[0].loc[2].h=3; gPieceType[183].mytype[0].loc[2].v=0; gPieceType[183].mytype[0].loc[3].h=0; gPieceType[183].mytype[0].loc[3].v=1; gPieceType[183].mytype[0].loc[4].h=1; gPieceType[183].mytype[0].loc[4].v=1; gPieceType[183].mytype[0].loc[5].h=2; gPieceType[183].mytype[0].loc[5].v=1; gPieceType[183].mytype[0].loc[6].h=3; gPieceType[183].mytype[0].loc[6].v=1; gPieceType[183].mytype[0].loc[7].h=0; gPieceType[183].mytype[0].loc[7].v=2; gPieceType[183].mytype[0].full[0]=false; gPieceType[183].mytype[0].full[1]=false; gPieceType[183].mytype[0].full[2]=true; gPieceType[183].mytype[0].full[3]=true; gPieceType[183].mytype[0].full[4]=true; gPieceType[183].mytype[0].full[5]=true; gPieceType[183].mytype[0].full[6]=false; gPieceType[183].mytype[0].full[7]=false; gPieceType[183].mytype[0].up[0]=true; gPieceType[183].mytype[0].up[1]=false; gPieceType[183].mytype[0].up[2]=true; gPieceType[183].mytype[0].up[3]=true; gPieceType[183].mytype[0].up[4]=false; gPieceType[183].mytype[0].up[5]=true; gPieceType[183].mytype[0].up[6]=false; gPieceType[183].mytype[0].up[7]=false; gPieceType[183].mytype[0].halfindex[0][0]=RR; gPieceType[183].mytype[0].halfindex[0][1]=DD; gPieceType[183].mytype[0].halfindex[1][0]=LL; gPieceType[183].mytype[0].halfindex[1][1]=RR; gPieceType[183].mytype[0].halfindex[6][0]=UU; gPieceType[183].mytype[0].halfindex[6][1]=LL; gPieceType[183].mytype[0].halfindex[7][0]=UU; gPieceType[183].mytype[0].halfindex[7][1]=RR; //---------------------- 184 --------------// gPieceType[184].totalnum=8; gPieceType[184].num0=4; gPieceType[184].num1=4; gPieceType[184].mytype[0].loc[0].h=1; gPieceType[184].mytype[0].loc[0].v=0; gPieceType[184].mytype[0].loc[1].h=2; gPieceType[184].mytype[0].loc[1].v=0; gPieceType[184].mytype[0].loc[2].h=3; gPieceType[184].mytype[0].loc[2].v=0; gPieceType[184].mytype[0].loc[3].h=0; gPieceType[184].mytype[0].loc[3].v=1; gPieceType[184].mytype[0].loc[4].h=1; gPieceType[184].mytype[0].loc[4].v=1; gPieceType[184].mytype[0].loc[5].h=2; gPieceType[184].mytype[0].loc[5].v=1; gPieceType[184].mytype[0].loc[6].h=3; gPieceType[184].mytype[0].loc[6].v=1; gPieceType[184].mytype[0].loc[7].h=0; gPieceType[184].mytype[0].loc[7].v=2; gPieceType[184].mytype[0].full[0]=false; gPieceType[184].mytype[0].full[1]=false; gPieceType[184].mytype[0].full[2]=true; gPieceType[184].mytype[0].full[3]=true; gPieceType[184].mytype[0].full[4]=true; gPieceType[184].mytype[0].full[5]=true; gPieceType[184].mytype[0].full[6]=false; gPieceType[184].mytype[0].full[7]=false; gPieceType[184].mytype[0].up[0]=true; gPieceType[184].mytype[0].up[1]=false; gPieceType[184].mytype[0].up[2]=true; gPieceType[184].mytype[0].up[3]=true; gPieceType[184].mytype[0].up[4]=false; gPieceType[184].mytype[0].up[5]=true; gPieceType[184].mytype[0].up[6]=false; gPieceType[184].mytype[0].up[7]=false; gPieceType[184].mytype[0].halfindex[0][0]=RR; gPieceType[184].mytype[0].halfindex[0][1]=DD; gPieceType[184].mytype[0].halfindex[1][0]=LL; gPieceType[184].mytype[0].halfindex[1][1]=RR; gPieceType[184].mytype[0].halfindex[6][0]=UU; gPieceType[184].mytype[0].halfindex[6][1]=LL; gPieceType[184].mytype[0].halfindex[7][0]=UU; gPieceType[184].mytype[0].halfindex[7][1]=LL; //---------------------- 185 --------------// gPieceType[185].totalnum=8; gPieceType[185].num0=4; gPieceType[185].num1=4; gPieceType[185].mytype[0].loc[0].h=1; gPieceType[185].mytype[0].loc[0].v=0; gPieceType[185].mytype[0].loc[1].h=2; gPieceType[185].mytype[0].loc[1].v=0; gPieceType[185].mytype[0].loc[2].h=3; gPieceType[185].mytype[0].loc[2].v=0; gPieceType[185].mytype[0].loc[3].h=0; gPieceType[185].mytype[0].loc[3].v=1; gPieceType[185].mytype[0].loc[4].h=1; gPieceType[185].mytype[0].loc[4].v=1; gPieceType[185].mytype[0].loc[5].h=2; gPieceType[185].mytype[0].loc[5].v=1; gPieceType[185].mytype[0].loc[6].h=3; gPieceType[185].mytype[0].loc[6].v=1; gPieceType[185].mytype[0].loc[7].h=2; gPieceType[185].mytype[0].loc[7].v=2; gPieceType[185].mytype[0].full[0]=false; gPieceType[185].mytype[0].full[1]=false; gPieceType[185].mytype[0].full[2]=true; gPieceType[185].mytype[0].full[3]=true; gPieceType[185].mytype[0].full[4]=true; gPieceType[185].mytype[0].full[5]=true; gPieceType[185].mytype[0].full[6]=false; gPieceType[185].mytype[0].full[7]=false; gPieceType[185].mytype[0].up[0]=true; gPieceType[185].mytype[0].up[1]=false; gPieceType[185].mytype[0].up[2]=true; gPieceType[185].mytype[0].up[3]=true; gPieceType[185].mytype[0].up[4]=false; gPieceType[185].mytype[0].up[5]=true; gPieceType[185].mytype[0].up[6]=false; gPieceType[185].mytype[0].up[7]=false; gPieceType[185].mytype[0].halfindex[0][0]=DD; gPieceType[185].mytype[0].halfindex[0][1]=RR; gPieceType[185].mytype[0].halfindex[1][0]=RR; gPieceType[185].mytype[0].halfindex[1][1]=LL; gPieceType[185].mytype[0].halfindex[6][0]=LL; gPieceType[185].mytype[0].halfindex[6][1]=UU; gPieceType[185].mytype[0].halfindex[7][0]=UU; gPieceType[185].mytype[0].halfindex[7][1]=RR; //---------------------- 186 --------------// gPieceType[186].totalnum=8; gPieceType[186].num0=4; gPieceType[186].num1=4; gPieceType[186].mytype[0].loc[0].h=1; gPieceType[186].mytype[0].loc[0].v=0; gPieceType[186].mytype[0].loc[1].h=2; gPieceType[186].mytype[0].loc[1].v=0; gPieceType[186].mytype[0].loc[2].h=3; gPieceType[186].mytype[0].loc[2].v=0; gPieceType[186].mytype[0].loc[3].h=0; gPieceType[186].mytype[0].loc[3].v=1; gPieceType[186].mytype[0].loc[4].h=1; gPieceType[186].mytype[0].loc[4].v=1; gPieceType[186].mytype[0].loc[5].h=2; gPieceType[186].mytype[0].loc[5].v=1; gPieceType[186].mytype[0].loc[6].h=3; gPieceType[186].mytype[0].loc[6].v=1; gPieceType[186].mytype[0].loc[7].h=2; gPieceType[186].mytype[0].loc[7].v=2; gPieceType[186].mytype[0].full[0]=false; gPieceType[186].mytype[0].full[1]=false; gPieceType[186].mytype[0].full[2]=true; gPieceType[186].mytype[0].full[3]=true; gPieceType[186].mytype[0].full[4]=true; gPieceType[186].mytype[0].full[5]=true; gPieceType[186].mytype[0].full[6]=false; gPieceType[186].mytype[0].full[7]=false; gPieceType[186].mytype[0].up[0]=true; gPieceType[186].mytype[0].up[1]=false; gPieceType[186].mytype[0].up[2]=true; gPieceType[186].mytype[0].up[3]=true; gPieceType[186].mytype[0].up[4]=false; gPieceType[186].mytype[0].up[5]=true; gPieceType[186].mytype[0].up[6]=false; gPieceType[186].mytype[0].up[7]=false; gPieceType[186].mytype[0].halfindex[0][0]=DD; gPieceType[186].mytype[0].halfindex[0][1]=RR; gPieceType[186].mytype[0].halfindex[1][0]=RR; gPieceType[186].mytype[0].halfindex[1][1]=LL; gPieceType[186].mytype[0].halfindex[6][0]=LL; gPieceType[186].mytype[0].halfindex[6][1]=UU; gPieceType[186].mytype[0].halfindex[7][0]=UU; gPieceType[186].mytype[0].halfindex[7][1]=LL; //---------------------- 187 --------------// gPieceType[187].totalnum=8; gPieceType[187].num0=4; gPieceType[187].num1=4; gPieceType[187].mytype[0].loc[0].h=2; gPieceType[187].mytype[0].loc[0].v=0; gPieceType[187].mytype[0].loc[1].h=3; gPieceType[187].mytype[0].loc[1].v=0; gPieceType[187].mytype[0].loc[2].h=4; gPieceType[187].mytype[0].loc[2].v=0; gPieceType[187].mytype[0].loc[3].h=0; gPieceType[187].mytype[0].loc[3].v=1; gPieceType[187].mytype[0].loc[4].h=1; gPieceType[187].mytype[0].loc[4].v=1; gPieceType[187].mytype[0].loc[5].h=2; gPieceType[187].mytype[0].loc[5].v=1; gPieceType[187].mytype[0].loc[6].h=3; gPieceType[187].mytype[0].loc[6].v=1; gPieceType[187].mytype[0].loc[7].h=4; gPieceType[187].mytype[0].loc[7].v=1; gPieceType[187].mytype[0].full[0]=false; gPieceType[187].mytype[0].full[1]=false; gPieceType[187].mytype[0].full[2]=true; gPieceType[187].mytype[0].full[3]=false; gPieceType[187].mytype[0].full[4]=true; gPieceType[187].mytype[0].full[5]=true; gPieceType[187].mytype[0].full[6]=true; gPieceType[187].mytype[0].full[7]=false; gPieceType[187].mytype[0].up[0]=true; gPieceType[187].mytype[0].up[1]=false; gPieceType[187].mytype[0].up[2]=true; gPieceType[187].mytype[0].up[3]=false; gPieceType[187].mytype[0].up[4]=true; gPieceType[187].mytype[0].up[5]=false; gPieceType[187].mytype[0].up[6]=true; gPieceType[187].mytype[0].up[7]=false; gPieceType[187].mytype[0].halfindex[0][0]=DD; gPieceType[187].mytype[0].halfindex[0][1]=RR; gPieceType[187].mytype[0].halfindex[1][0]=RR; gPieceType[187].mytype[0].halfindex[1][1]=LL; gPieceType[187].mytype[0].halfindex[3][0]=RR; gPieceType[187].mytype[0].halfindex[3][1]=LL; gPieceType[187].mytype[0].halfindex[7][0]=LL; gPieceType[187].mytype[0].halfindex[7][1]=UU; //---------------------- 188 --------------// gPieceType[188].totalnum=8; gPieceType[188].num0=4; gPieceType[188].num1=4; gPieceType[188].mytype[0].loc[0].h=2; gPieceType[188].mytype[0].loc[0].v=0; gPieceType[188].mytype[0].loc[1].h=3; gPieceType[188].mytype[0].loc[1].v=0; gPieceType[188].mytype[0].loc[2].h=4; gPieceType[188].mytype[0].loc[2].v=0; gPieceType[188].mytype[0].loc[3].h=0; gPieceType[188].mytype[0].loc[3].v=1; gPieceType[188].mytype[0].loc[4].h=1; gPieceType[188].mytype[0].loc[4].v=1; gPieceType[188].mytype[0].loc[5].h=2; gPieceType[188].mytype[0].loc[5].v=1; gPieceType[188].mytype[0].loc[6].h=3; gPieceType[188].mytype[0].loc[6].v=1; gPieceType[188].mytype[0].loc[7].h=4; gPieceType[188].mytype[0].loc[7].v=1; gPieceType[188].mytype[0].full[0]=false; gPieceType[188].mytype[0].full[1]=false; gPieceType[188].mytype[0].full[2]=true; gPieceType[188].mytype[0].full[3]=false; gPieceType[188].mytype[0].full[4]=true; gPieceType[188].mytype[0].full[5]=true; gPieceType[188].mytype[0].full[6]=true; gPieceType[188].mytype[0].full[7]=false; gPieceType[188].mytype[0].up[0]=true; gPieceType[188].mytype[0].up[1]=false; gPieceType[188].mytype[0].up[2]=true; gPieceType[188].mytype[0].up[3]=false; gPieceType[188].mytype[0].up[4]=true; gPieceType[188].mytype[0].up[5]=false; gPieceType[188].mytype[0].up[6]=true; gPieceType[188].mytype[0].up[7]=false; gPieceType[188].mytype[0].halfindex[0][0]=DD; gPieceType[188].mytype[0].halfindex[0][1]=RR; gPieceType[188].mytype[0].halfindex[1][0]=RR; gPieceType[188].mytype[0].halfindex[1][1]=LL; gPieceType[188].mytype[0].halfindex[3][0]=RR; gPieceType[188].mytype[0].halfindex[3][1]=UU; gPieceType[188].mytype[0].halfindex[7][0]=LL; gPieceType[188].mytype[0].halfindex[7][1]=UU; //---------------------- 189 --------------// gPieceType[189].totalnum=8; gPieceType[189].num0=4; gPieceType[189].num1=4; gPieceType[189].mytype[0].loc[0].h=1; gPieceType[189].mytype[0].loc[0].v=0; gPieceType[189].mytype[0].loc[1].h=2; gPieceType[189].mytype[0].loc[1].v=0; gPieceType[189].mytype[0].loc[2].h=3; gPieceType[189].mytype[0].loc[2].v=0; gPieceType[189].mytype[0].loc[3].h=0; gPieceType[189].mytype[0].loc[3].v=1; gPieceType[189].mytype[0].loc[4].h=1; gPieceType[189].mytype[0].loc[4].v=1; gPieceType[189].mytype[0].loc[5].h=2; gPieceType[189].mytype[0].loc[5].v=1; gPieceType[189].mytype[0].loc[6].h=3; gPieceType[189].mytype[0].loc[6].v=1; gPieceType[189].mytype[0].loc[7].h=0; gPieceType[189].mytype[0].loc[7].v=2; gPieceType[189].mytype[0].full[0]=false; gPieceType[189].mytype[0].full[1]=false; gPieceType[189].mytype[0].full[2]=true; gPieceType[189].mytype[0].full[3]=true; gPieceType[189].mytype[0].full[4]=true; gPieceType[189].mytype[0].full[5]=true; gPieceType[189].mytype[0].full[6]=false; gPieceType[189].mytype[0].full[7]=false; gPieceType[189].mytype[0].up[0]=true; gPieceType[189].mytype[0].up[1]=false; gPieceType[189].mytype[0].up[2]=true; gPieceType[189].mytype[0].up[3]=true; gPieceType[189].mytype[0].up[4]=false; gPieceType[189].mytype[0].up[5]=true; gPieceType[189].mytype[0].up[6]=false; gPieceType[189].mytype[0].up[7]=false; gPieceType[189].mytype[0].halfindex[0][0]=DD; gPieceType[189].mytype[0].halfindex[0][1]=RR; gPieceType[189].mytype[0].halfindex[1][0]=RR; gPieceType[189].mytype[0].halfindex[1][1]=LL; gPieceType[189].mytype[0].halfindex[6][0]=UU; gPieceType[189].mytype[0].halfindex[6][1]=LL; gPieceType[189].mytype[0].halfindex[7][0]=UU; gPieceType[189].mytype[0].halfindex[7][1]=LL; } }