//------------------ SetUpPieceClass11 -------------------// import java.awt.*; import java.applet.*; import java.io.*; import java.lang.String; import java.util.Random; import java.util.Date; public class mySetUpPiece11 { final int RR=0, LL=1, DD= 2,UU =3; void TP_DoSetUpEternityPiece11(myPieceTypeClass gPieceType[]) { //---------------------- 110 --------------// gPieceType[110].totalnum=8; gPieceType[110].num0=4; gPieceType[110].num1=4; gPieceType[110].mytype[0].loc[0].h=1; gPieceType[110].mytype[0].loc[0].v=0; gPieceType[110].mytype[0].loc[1].h=0; gPieceType[110].mytype[0].loc[1].v=1; gPieceType[110].mytype[0].loc[2].h=1; gPieceType[110].mytype[0].loc[2].v=1; gPieceType[110].mytype[0].loc[3].h=2; gPieceType[110].mytype[0].loc[3].v=1; gPieceType[110].mytype[0].loc[4].h=3; gPieceType[110].mytype[0].loc[4].v=1; gPieceType[110].mytype[0].loc[5].h=0; gPieceType[110].mytype[0].loc[5].v=2; gPieceType[110].mytype[0].loc[6].h=1; gPieceType[110].mytype[0].loc[6].v=2; gPieceType[110].mytype[0].loc[7].h=2; gPieceType[110].mytype[0].loc[7].v=2; gPieceType[110].mytype[0].full[0]=true; gPieceType[110].mytype[0].full[1]=true; gPieceType[110].mytype[0].full[2]=true; gPieceType[110].mytype[0].full[3]=true; gPieceType[110].mytype[0].full[4]=false; gPieceType[110].mytype[0].full[5]=false; gPieceType[110].mytype[0].full[6]=false; gPieceType[110].mytype[0].full[7]=false; gPieceType[110].mytype[0].up[0]=true; gPieceType[110].mytype[0].up[1]=true; gPieceType[110].mytype[0].up[2]=false; gPieceType[110].mytype[0].up[3]=true; gPieceType[110].mytype[0].up[4]=false; gPieceType[110].mytype[0].up[5]=false; gPieceType[110].mytype[0].up[6]=true; gPieceType[110].mytype[0].up[7]=false; gPieceType[110].mytype[0].halfindex[4][0]=LL; gPieceType[110].mytype[0].halfindex[4][1]=UU; gPieceType[110].mytype[0].halfindex[5][0]=RR; gPieceType[110].mytype[0].halfindex[5][1]=UU; gPieceType[110].mytype[0].halfindex[6][0]=LL; gPieceType[110].mytype[0].halfindex[6][1]=RR; gPieceType[110].mytype[0].halfindex[7][0]=UU; gPieceType[110].mytype[0].halfindex[7][1]=LL; //---------------------- 111 --------------// gPieceType[111].totalnum=8; gPieceType[111].num0=4; gPieceType[111].num1=4; gPieceType[111].mytype[0].loc[0].h=1; gPieceType[111].mytype[0].loc[0].v=0; gPieceType[111].mytype[0].loc[1].h=0; gPieceType[111].mytype[0].loc[1].v=1; gPieceType[111].mytype[0].loc[2].h=1; gPieceType[111].mytype[0].loc[2].v=1; gPieceType[111].mytype[0].loc[3].h=2; gPieceType[111].mytype[0].loc[3].v=1; gPieceType[111].mytype[0].loc[4].h=3; gPieceType[111].mytype[0].loc[4].v=1; gPieceType[111].mytype[0].loc[5].h=0; gPieceType[111].mytype[0].loc[5].v=2; gPieceType[111].mytype[0].loc[6].h=1; gPieceType[111].mytype[0].loc[6].v=2; gPieceType[111].mytype[0].loc[7].h=2; gPieceType[111].mytype[0].loc[7].v=2; gPieceType[111].mytype[0].full[0]=false; gPieceType[111].mytype[0].full[1]=true; gPieceType[111].mytype[0].full[2]=true; gPieceType[111].mytype[0].full[3]=true; gPieceType[111].mytype[0].full[4]=false; gPieceType[111].mytype[0].full[5]=true; gPieceType[111].mytype[0].full[6]=false; gPieceType[111].mytype[0].full[7]=false; gPieceType[111].mytype[0].up[0]=true; gPieceType[111].mytype[0].up[1]=true; gPieceType[111].mytype[0].up[2]=false; gPieceType[111].mytype[0].up[3]=true; gPieceType[111].mytype[0].up[4]=false; gPieceType[111].mytype[0].up[5]=false; gPieceType[111].mytype[0].up[6]=true; gPieceType[111].mytype[0].up[7]=false; gPieceType[111].mytype[0].halfindex[0][0]=DD; gPieceType[111].mytype[0].halfindex[0][1]=LL; gPieceType[111].mytype[0].halfindex[4][0]=LL; gPieceType[111].mytype[0].halfindex[4][1]=UU; gPieceType[111].mytype[0].halfindex[6][0]=LL; gPieceType[111].mytype[0].halfindex[6][1]=DD; gPieceType[111].mytype[0].halfindex[7][0]=UU; gPieceType[111].mytype[0].halfindex[7][1]=RR; //---------------------- 112 --------------// gPieceType[112].totalnum=8; gPieceType[112].num0=4; gPieceType[112].num1=4; gPieceType[112].mytype[0].loc[0].h=1; gPieceType[112].mytype[0].loc[0].v=0; gPieceType[112].mytype[0].loc[1].h=0; gPieceType[112].mytype[0].loc[1].v=1; gPieceType[112].mytype[0].loc[2].h=1; gPieceType[112].mytype[0].loc[2].v=1; gPieceType[112].mytype[0].loc[3].h=2; gPieceType[112].mytype[0].loc[3].v=1; gPieceType[112].mytype[0].loc[4].h=3; gPieceType[112].mytype[0].loc[4].v=1; gPieceType[112].mytype[0].loc[5].h=0; gPieceType[112].mytype[0].loc[5].v=2; gPieceType[112].mytype[0].loc[6].h=1; gPieceType[112].mytype[0].loc[6].v=2; gPieceType[112].mytype[0].loc[7].h=2; gPieceType[112].mytype[0].loc[7].v=2; gPieceType[112].mytype[0].full[0]=false; gPieceType[112].mytype[0].full[1]=true; gPieceType[112].mytype[0].full[2]=true; gPieceType[112].mytype[0].full[3]=true; gPieceType[112].mytype[0].full[4]=false; gPieceType[112].mytype[0].full[5]=true; gPieceType[112].mytype[0].full[6]=false; gPieceType[112].mytype[0].full[7]=false; gPieceType[112].mytype[0].up[0]=true; gPieceType[112].mytype[0].up[1]=true; gPieceType[112].mytype[0].up[2]=false; gPieceType[112].mytype[0].up[3]=true; gPieceType[112].mytype[0].up[4]=false; gPieceType[112].mytype[0].up[5]=false; gPieceType[112].mytype[0].up[6]=true; gPieceType[112].mytype[0].up[7]=false; gPieceType[112].mytype[0].halfindex[0][0]=DD; gPieceType[112].mytype[0].halfindex[0][1]=LL; gPieceType[112].mytype[0].halfindex[4][0]=LL; gPieceType[112].mytype[0].halfindex[4][1]=RR; gPieceType[112].mytype[0].halfindex[6][0]=LL; gPieceType[112].mytype[0].halfindex[6][1]=DD; gPieceType[112].mytype[0].halfindex[7][0]=UU; gPieceType[112].mytype[0].halfindex[7][1]=RR; //---------------------- 113 --------------// gPieceType[113].totalnum=8; gPieceType[113].num0=4; gPieceType[113].num1=4; gPieceType[113].mytype[0].loc[0].h=2; gPieceType[113].mytype[0].loc[0].v=0; gPieceType[113].mytype[0].loc[1].h=0; gPieceType[113].mytype[0].loc[1].v=1; gPieceType[113].mytype[0].loc[2].h=1; gPieceType[113].mytype[0].loc[2].v=1; gPieceType[113].mytype[0].loc[3].h=2; gPieceType[113].mytype[0].loc[3].v=1; gPieceType[113].mytype[0].loc[4].h=3; gPieceType[113].mytype[0].loc[4].v=1; gPieceType[113].mytype[0].loc[5].h=1; gPieceType[113].mytype[0].loc[5].v=2; gPieceType[113].mytype[0].loc[6].h=2; gPieceType[113].mytype[0].loc[6].v=2; gPieceType[113].mytype[0].loc[7].h=3; gPieceType[113].mytype[0].loc[7].v=2; gPieceType[113].mytype[0].full[0]=false; gPieceType[113].mytype[0].full[1]=false; gPieceType[113].mytype[0].full[2]=true; gPieceType[113].mytype[0].full[3]=true; gPieceType[113].mytype[0].full[4]=true; gPieceType[113].mytype[0].full[5]=true; gPieceType[113].mytype[0].full[6]=false; gPieceType[113].mytype[0].full[7]=false; gPieceType[113].mytype[0].up[0]=true; gPieceType[113].mytype[0].up[1]=false; gPieceType[113].mytype[0].up[2]=true; gPieceType[113].mytype[0].up[3]=false; gPieceType[113].mytype[0].up[4]=true; gPieceType[113].mytype[0].up[5]=false; gPieceType[113].mytype[0].up[6]=true; gPieceType[113].mytype[0].up[7]=false; gPieceType[113].mytype[0].halfindex[0][0]=DD; gPieceType[113].mytype[0].halfindex[0][1]=LL; gPieceType[113].mytype[0].halfindex[1][0]=RR; gPieceType[113].mytype[0].halfindex[1][1]=LL; gPieceType[113].mytype[0].halfindex[6][0]=LL; gPieceType[113].mytype[0].halfindex[6][1]=DD; gPieceType[113].mytype[0].halfindex[7][0]=UU; gPieceType[113].mytype[0].halfindex[7][1]=RR; //---------------------- 114 --------------// gPieceType[114].totalnum=8; gPieceType[114].num0=4; gPieceType[114].num1=4; gPieceType[114].mytype[0].loc[0].h=1; gPieceType[114].mytype[0].loc[0].v=0; gPieceType[114].mytype[0].loc[1].h=0; gPieceType[114].mytype[0].loc[1].v=1; gPieceType[114].mytype[0].loc[2].h=1; gPieceType[114].mytype[0].loc[2].v=1; gPieceType[114].mytype[0].loc[3].h=2; gPieceType[114].mytype[0].loc[3].v=1; gPieceType[114].mytype[0].loc[4].h=3; gPieceType[114].mytype[0].loc[4].v=1; gPieceType[114].mytype[0].loc[5].h=0; gPieceType[114].mytype[0].loc[5].v=2; gPieceType[114].mytype[0].loc[6].h=1; gPieceType[114].mytype[0].loc[6].v=2; gPieceType[114].mytype[0].loc[7].h=2; gPieceType[114].mytype[0].loc[7].v=2; gPieceType[114].mytype[0].full[0]=false; gPieceType[114].mytype[0].full[1]=true; gPieceType[114].mytype[0].full[2]=true; gPieceType[114].mytype[0].full[3]=true; gPieceType[114].mytype[0].full[4]=false; gPieceType[114].mytype[0].full[5]=true; gPieceType[114].mytype[0].full[6]=false; gPieceType[114].mytype[0].full[7]=false; gPieceType[114].mytype[0].up[0]=true; gPieceType[114].mytype[0].up[1]=true; gPieceType[114].mytype[0].up[2]=false; gPieceType[114].mytype[0].up[3]=true; gPieceType[114].mytype[0].up[4]=false; gPieceType[114].mytype[0].up[5]=false; gPieceType[114].mytype[0].up[6]=true; gPieceType[114].mytype[0].up[7]=false; gPieceType[114].mytype[0].halfindex[0][0]=DD; gPieceType[114].mytype[0].halfindex[0][1]=RR; gPieceType[114].mytype[0].halfindex[4][0]=LL; gPieceType[114].mytype[0].halfindex[4][1]=RR; gPieceType[114].mytype[0].halfindex[6][0]=LL; gPieceType[114].mytype[0].halfindex[6][1]=DD; gPieceType[114].mytype[0].halfindex[7][0]=UU; gPieceType[114].mytype[0].halfindex[7][1]=RR; //---------------------- 115 --------------// gPieceType[115].totalnum=8; gPieceType[115].num0=4; gPieceType[115].num1=4; gPieceType[115].mytype[0].loc[0].h=2; gPieceType[115].mytype[0].loc[0].v=0; gPieceType[115].mytype[0].loc[1].h=1; gPieceType[115].mytype[0].loc[1].v=1; gPieceType[115].mytype[0].loc[2].h=2; gPieceType[115].mytype[0].loc[2].v=1; gPieceType[115].mytype[0].loc[3].h=3; gPieceType[115].mytype[0].loc[3].v=1; gPieceType[115].mytype[0].loc[4].h=0; gPieceType[115].mytype[0].loc[4].v=2; gPieceType[115].mytype[0].loc[5].h=1; gPieceType[115].mytype[0].loc[5].v=2; gPieceType[115].mytype[0].loc[6].h=2; gPieceType[115].mytype[0].loc[6].v=2; gPieceType[115].mytype[0].loc[7].h=3; gPieceType[115].mytype[0].loc[7].v=2; gPieceType[115].mytype[0].full[0]=false; gPieceType[115].mytype[0].full[1]=true; gPieceType[115].mytype[0].full[2]=true; gPieceType[115].mytype[0].full[3]=true; gPieceType[115].mytype[0].full[4]=false; gPieceType[115].mytype[0].full[5]=true; gPieceType[115].mytype[0].full[6]=false; gPieceType[115].mytype[0].full[7]=false; gPieceType[115].mytype[0].up[0]=true; gPieceType[115].mytype[0].up[1]=true; gPieceType[115].mytype[0].up[2]=false; gPieceType[115].mytype[0].up[3]=true; gPieceType[115].mytype[0].up[4]=true; gPieceType[115].mytype[0].up[5]=false; gPieceType[115].mytype[0].up[6]=true; gPieceType[115].mytype[0].up[7]=false; gPieceType[115].mytype[0].halfindex[0][0]=DD; gPieceType[115].mytype[0].halfindex[0][1]=RR; gPieceType[115].mytype[0].halfindex[4][0]=RR; gPieceType[115].mytype[0].halfindex[4][1]=DD; gPieceType[115].mytype[0].halfindex[6][0]=LL; gPieceType[115].mytype[0].halfindex[6][1]=DD; gPieceType[115].mytype[0].halfindex[7][0]=UU; gPieceType[115].mytype[0].halfindex[7][1]=RR; //---------------------- 116 --------------// gPieceType[116].totalnum=8; gPieceType[116].num0=4; gPieceType[116].num1=4; gPieceType[116].mytype[0].loc[0].h=2; gPieceType[116].mytype[0].loc[0].v=0; gPieceType[116].mytype[0].loc[1].h=1; gPieceType[116].mytype[0].loc[1].v=1; gPieceType[116].mytype[0].loc[2].h=2; gPieceType[116].mytype[0].loc[2].v=1; gPieceType[116].mytype[0].loc[3].h=3; gPieceType[116].mytype[0].loc[3].v=1; gPieceType[116].mytype[0].loc[4].h=0; gPieceType[116].mytype[0].loc[4].v=2; gPieceType[116].mytype[0].loc[5].h=1; gPieceType[116].mytype[0].loc[5].v=2; gPieceType[116].mytype[0].loc[6].h=2; gPieceType[116].mytype[0].loc[6].v=2; gPieceType[116].mytype[0].loc[7].h=3; gPieceType[116].mytype[0].loc[7].v=2; gPieceType[116].mytype[0].full[0]=false; gPieceType[116].mytype[0].full[1]=true; gPieceType[116].mytype[0].full[2]=true; gPieceType[116].mytype[0].full[3]=true; gPieceType[116].mytype[0].full[4]=false; gPieceType[116].mytype[0].full[5]=true; gPieceType[116].mytype[0].full[6]=false; gPieceType[116].mytype[0].full[7]=false; gPieceType[116].mytype[0].up[0]=true; gPieceType[116].mytype[0].up[1]=true; gPieceType[116].mytype[0].up[2]=false; gPieceType[116].mytype[0].up[3]=true; gPieceType[116].mytype[0].up[4]=true; gPieceType[116].mytype[0].up[5]=false; gPieceType[116].mytype[0].up[6]=true; gPieceType[116].mytype[0].up[7]=false; gPieceType[116].mytype[0].halfindex[0][0]=DD; gPieceType[116].mytype[0].halfindex[0][1]=RR; gPieceType[116].mytype[0].halfindex[4][0]=RR; gPieceType[116].mytype[0].halfindex[4][1]=LL; gPieceType[116].mytype[0].halfindex[6][0]=LL; gPieceType[116].mytype[0].halfindex[6][1]=DD; gPieceType[116].mytype[0].halfindex[7][0]=UU; gPieceType[116].mytype[0].halfindex[7][1]=RR; //---------------------- 117 --------------// gPieceType[117].totalnum=8; gPieceType[117].num0=4; gPieceType[117].num1=4; gPieceType[117].mytype[0].loc[0].h=1; gPieceType[117].mytype[0].loc[0].v=0; gPieceType[117].mytype[0].loc[1].h=2; gPieceType[117].mytype[0].loc[1].v=0; gPieceType[117].mytype[0].loc[2].h=3; gPieceType[117].mytype[0].loc[2].v=0; gPieceType[117].mytype[0].loc[3].h=4; gPieceType[117].mytype[0].loc[3].v=0; gPieceType[117].mytype[0].loc[4].h=0; gPieceType[117].mytype[0].loc[4].v=1; gPieceType[117].mytype[0].loc[5].h=1; gPieceType[117].mytype[0].loc[5].v=1; gPieceType[117].mytype[0].loc[6].h=2; gPieceType[117].mytype[0].loc[6].v=1; gPieceType[117].mytype[0].loc[7].h=3; gPieceType[117].mytype[0].loc[7].v=1; gPieceType[117].mytype[0].full[0]=true; gPieceType[117].mytype[0].full[1]=true; gPieceType[117].mytype[0].full[2]=true; gPieceType[117].mytype[0].full[3]=false; gPieceType[117].mytype[0].full[4]=false; gPieceType[117].mytype[0].full[5]=true; gPieceType[117].mytype[0].full[6]=false; gPieceType[117].mytype[0].full[7]=false; gPieceType[117].mytype[0].up[0]=true; gPieceType[117].mytype[0].up[1]=false; gPieceType[117].mytype[0].up[2]=true; gPieceType[117].mytype[0].up[3]=false; gPieceType[117].mytype[0].up[4]=true; gPieceType[117].mytype[0].up[5]=false; gPieceType[117].mytype[0].up[6]=true; gPieceType[117].mytype[0].up[7]=false; gPieceType[117].mytype[0].halfindex[3][0]=LL; gPieceType[117].mytype[0].halfindex[3][1]=UU; gPieceType[117].mytype[0].halfindex[4][0]=RR; gPieceType[117].mytype[0].halfindex[4][1]=DD; gPieceType[117].mytype[0].halfindex[6][0]=LL; gPieceType[117].mytype[0].halfindex[6][1]=DD; gPieceType[117].mytype[0].halfindex[7][0]=UU; gPieceType[117].mytype[0].halfindex[7][1]=RR; //---------------------- 118 --------------// gPieceType[118].totalnum=8; gPieceType[118].num0=4; gPieceType[118].num1=4; gPieceType[118].mytype[0].loc[0].h=1; gPieceType[118].mytype[0].loc[0].v=0; gPieceType[118].mytype[0].loc[1].h=0; gPieceType[118].mytype[0].loc[1].v=1; gPieceType[118].mytype[0].loc[2].h=1; gPieceType[118].mytype[0].loc[2].v=1; gPieceType[118].mytype[0].loc[3].h=2; gPieceType[118].mytype[0].loc[3].v=1; gPieceType[118].mytype[0].loc[4].h=3; gPieceType[118].mytype[0].loc[4].v=1; gPieceType[118].mytype[0].loc[5].h=0; gPieceType[118].mytype[0].loc[5].v=2; gPieceType[118].mytype[0].loc[6].h=1; gPieceType[118].mytype[0].loc[6].v=2; gPieceType[118].mytype[0].loc[7].h=2; gPieceType[118].mytype[0].loc[7].v=2; gPieceType[118].mytype[0].full[0]=false; gPieceType[118].mytype[0].full[1]=true; gPieceType[118].mytype[0].full[2]=true; gPieceType[118].mytype[0].full[3]=true; gPieceType[118].mytype[0].full[4]=false; gPieceType[118].mytype[0].full[5]=true; gPieceType[118].mytype[0].full[6]=false; gPieceType[118].mytype[0].full[7]=false; gPieceType[118].mytype[0].up[0]=true; gPieceType[118].mytype[0].up[1]=true; gPieceType[118].mytype[0].up[2]=false; gPieceType[118].mytype[0].up[3]=true; gPieceType[118].mytype[0].up[4]=false; gPieceType[118].mytype[0].up[5]=false; gPieceType[118].mytype[0].up[6]=true; gPieceType[118].mytype[0].up[7]=false; gPieceType[118].mytype[0].halfindex[0][0]=DD; gPieceType[118].mytype[0].halfindex[0][1]=LL; gPieceType[118].mytype[0].halfindex[4][0]=LL; gPieceType[118].mytype[0].halfindex[4][1]=UU; gPieceType[118].mytype[0].halfindex[6][0]=LL; gPieceType[118].mytype[0].halfindex[6][1]=RR; gPieceType[118].mytype[0].halfindex[7][0]=UU; gPieceType[118].mytype[0].halfindex[7][1]=LL; //---------------------- 119 --------------// gPieceType[119].totalnum=8; gPieceType[119].num0=4; gPieceType[119].num1=4; gPieceType[119].mytype[0].loc[0].h=2; gPieceType[119].mytype[0].loc[0].v=0; gPieceType[119].mytype[0].loc[1].h=1; gPieceType[119].mytype[0].loc[1].v=1; gPieceType[119].mytype[0].loc[2].h=2; gPieceType[119].mytype[0].loc[2].v=1; gPieceType[119].mytype[0].loc[3].h=3; gPieceType[119].mytype[0].loc[3].v=1; gPieceType[119].mytype[0].loc[4].h=0; gPieceType[119].mytype[0].loc[4].v=2; gPieceType[119].mytype[0].loc[5].h=1; gPieceType[119].mytype[0].loc[5].v=2; gPieceType[119].mytype[0].loc[6].h=2; gPieceType[119].mytype[0].loc[6].v=2; gPieceType[119].mytype[0].loc[7].h=3; gPieceType[119].mytype[0].loc[7].v=2; gPieceType[119].mytype[0].full[0]=false; gPieceType[119].mytype[0].full[1]=true; gPieceType[119].mytype[0].full[2]=true; gPieceType[119].mytype[0].full[3]=true; gPieceType[119].mytype[0].full[4]=false; gPieceType[119].mytype[0].full[5]=true; gPieceType[119].mytype[0].full[6]=false; gPieceType[119].mytype[0].full[7]=false; gPieceType[119].mytype[0].up[0]=true; gPieceType[119].mytype[0].up[1]=true; gPieceType[119].mytype[0].up[2]=false; gPieceType[119].mytype[0].up[3]=true; gPieceType[119].mytype[0].up[4]=true; gPieceType[119].mytype[0].up[5]=false; gPieceType[119].mytype[0].up[6]=true; gPieceType[119].mytype[0].up[7]=false; gPieceType[119].mytype[0].halfindex[0][0]=DD; gPieceType[119].mytype[0].halfindex[0][1]=LL; gPieceType[119].mytype[0].halfindex[4][0]=RR; gPieceType[119].mytype[0].halfindex[4][1]=LL; gPieceType[119].mytype[0].halfindex[6][0]=LL; gPieceType[119].mytype[0].halfindex[6][1]=RR; gPieceType[119].mytype[0].halfindex[7][0]=UU; gPieceType[119].mytype[0].halfindex[7][1]=LL; } }