//------------------ SetUpPieceClass10 -------------------// import java.awt.*; import java.applet.*; import java.io.*; import java.lang.String; import java.util.Random; import java.util.Date; public class mySetUpPiece10 { final int RR=0, LL=1, DD= 2,UU =3; void TP_DoSetUpEternityPiece10(myPieceTypeClass gPieceType[]) { //---------------------- 100 --------------// gPieceType[100].totalnum=8; gPieceType[100].num0=4; gPieceType[100].num1=4; gPieceType[100].mytype[0].loc[0].h=2; gPieceType[100].mytype[0].loc[0].v=0; gPieceType[100].mytype[0].loc[1].h=0; gPieceType[100].mytype[0].loc[1].v=1; gPieceType[100].mytype[0].loc[2].h=1; gPieceType[100].mytype[0].loc[2].v=1; gPieceType[100].mytype[0].loc[3].h=2; gPieceType[100].mytype[0].loc[3].v=1; gPieceType[100].mytype[0].loc[4].h=3; gPieceType[100].mytype[0].loc[4].v=1; gPieceType[100].mytype[0].loc[5].h=4; gPieceType[100].mytype[0].loc[5].v=1; gPieceType[100].mytype[0].loc[6].h=1; gPieceType[100].mytype[0].loc[6].v=2; gPieceType[100].mytype[0].loc[7].h=3; gPieceType[100].mytype[0].loc[7].v=2; gPieceType[100].mytype[0].full[0]=true; gPieceType[100].mytype[0].full[1]=false; gPieceType[100].mytype[0].full[2]=true; gPieceType[100].mytype[0].full[3]=true; gPieceType[100].mytype[0].full[4]=true; gPieceType[100].mytype[0].full[5]=false; gPieceType[100].mytype[0].full[6]=false; gPieceType[100].mytype[0].full[7]=false; gPieceType[100].mytype[0].up[0]=true; gPieceType[100].mytype[0].up[1]=false; gPieceType[100].mytype[0].up[2]=true; gPieceType[100].mytype[0].up[3]=false; gPieceType[100].mytype[0].up[4]=true; gPieceType[100].mytype[0].up[5]=false; gPieceType[100].mytype[0].up[6]=false; gPieceType[100].mytype[0].up[7]=false; gPieceType[100].mytype[0].halfindex[1][0]=RR; gPieceType[100].mytype[0].halfindex[1][1]=LL; gPieceType[100].mytype[0].halfindex[5][0]=LL; gPieceType[100].mytype[0].halfindex[5][1]=UU; gPieceType[100].mytype[0].halfindex[6][0]=UU; gPieceType[100].mytype[0].halfindex[6][1]=LL; gPieceType[100].mytype[0].halfindex[7][0]=UU; gPieceType[100].mytype[0].halfindex[7][1]=RR; //---------------------- 101 --------------// gPieceType[101].totalnum=8; gPieceType[101].num0=4; gPieceType[101].num1=4; gPieceType[101].mytype[0].loc[0].h=0; gPieceType[101].mytype[0].loc[0].v=0; gPieceType[101].mytype[0].loc[1].h=1; gPieceType[101].mytype[0].loc[1].v=0; gPieceType[101].mytype[0].loc[2].h=2; gPieceType[101].mytype[0].loc[2].v=0; gPieceType[101].mytype[0].loc[3].h=0; gPieceType[101].mytype[0].loc[3].v=1; gPieceType[101].mytype[0].loc[4].h=1; gPieceType[101].mytype[0].loc[4].v=1; gPieceType[101].mytype[0].loc[5].h=2; gPieceType[101].mytype[0].loc[5].v=1; gPieceType[101].mytype[0].loc[6].h=0; gPieceType[101].mytype[0].loc[6].v=2; gPieceType[101].mytype[0].loc[7].h=2; gPieceType[101].mytype[0].loc[7].v=2; gPieceType[101].mytype[0].full[0]=false; gPieceType[101].mytype[0].full[1]=true; gPieceType[101].mytype[0].full[2]=false; gPieceType[101].mytype[0].full[3]=true; gPieceType[101].mytype[0].full[4]=true; gPieceType[101].mytype[0].full[5]=true; gPieceType[101].mytype[0].full[6]=false; gPieceType[101].mytype[0].full[7]=false; gPieceType[101].mytype[0].up[0]=false; gPieceType[101].mytype[0].up[1]=true; gPieceType[101].mytype[0].up[2]=false; gPieceType[101].mytype[0].up[3]=true; gPieceType[101].mytype[0].up[4]=false; gPieceType[101].mytype[0].up[5]=true; gPieceType[101].mytype[0].up[6]=false; gPieceType[101].mytype[0].up[7]=false; gPieceType[101].mytype[0].halfindex[0][0]=RR; gPieceType[101].mytype[0].halfindex[0][1]=LL; gPieceType[101].mytype[0].halfindex[2][0]=LL; gPieceType[101].mytype[0].halfindex[2][1]=UU; gPieceType[101].mytype[0].halfindex[6][0]=UU; gPieceType[101].mytype[0].halfindex[6][1]=RR; gPieceType[101].mytype[0].halfindex[7][0]=UU; gPieceType[101].mytype[0].halfindex[7][1]=LL; //---------------------- 102 --------------// gPieceType[102].totalnum=8; gPieceType[102].num0=4; gPieceType[102].num1=4; gPieceType[102].mytype[0].loc[0].h=1; gPieceType[102].mytype[0].loc[0].v=0; gPieceType[102].mytype[0].loc[1].h=2; gPieceType[102].mytype[0].loc[1].v=0; gPieceType[102].mytype[0].loc[2].h=3; gPieceType[102].mytype[0].loc[2].v=0; gPieceType[102].mytype[0].loc[3].h=0; gPieceType[102].mytype[0].loc[3].v=1; gPieceType[102].mytype[0].loc[4].h=1; gPieceType[102].mytype[0].loc[4].v=1; gPieceType[102].mytype[0].loc[5].h=2; gPieceType[102].mytype[0].loc[5].v=1; gPieceType[102].mytype[0].loc[6].h=3; gPieceType[102].mytype[0].loc[6].v=1; gPieceType[102].mytype[0].loc[7].h=4; gPieceType[102].mytype[0].loc[7].v=1; gPieceType[102].mytype[0].full[0]=false; gPieceType[102].mytype[0].full[1]=true; gPieceType[102].mytype[0].full[2]=false; gPieceType[102].mytype[0].full[3]=false; gPieceType[102].mytype[0].full[4]=true; gPieceType[102].mytype[0].full[5]=true; gPieceType[102].mytype[0].full[6]=true; gPieceType[102].mytype[0].full[7]=false; gPieceType[102].mytype[0].up[0]=false; gPieceType[102].mytype[0].up[1]=true; gPieceType[102].mytype[0].up[2]=false; gPieceType[102].mytype[0].up[3]=false; gPieceType[102].mytype[0].up[4]=true; gPieceType[102].mytype[0].up[5]=false; gPieceType[102].mytype[0].up[6]=true; gPieceType[102].mytype[0].up[7]=false; gPieceType[102].mytype[0].halfindex[0][0]=RR; gPieceType[102].mytype[0].halfindex[0][1]=LL; gPieceType[102].mytype[0].halfindex[2][0]=LL; gPieceType[102].mytype[0].halfindex[2][1]=UU; gPieceType[102].mytype[0].halfindex[3][0]=RR; gPieceType[102].mytype[0].halfindex[3][1]=LL; gPieceType[102].mytype[0].halfindex[7][0]=LL; gPieceType[102].mytype[0].halfindex[7][1]=UU; //---------------------- 103 --------------// gPieceType[103].totalnum=8; gPieceType[103].num0=4; gPieceType[103].num1=4; gPieceType[103].mytype[0].loc[0].h=1; gPieceType[103].mytype[0].loc[0].v=0; gPieceType[103].mytype[0].loc[1].h=2; gPieceType[103].mytype[0].loc[1].v=0; gPieceType[103].mytype[0].loc[2].h=3; gPieceType[103].mytype[0].loc[2].v=0; gPieceType[103].mytype[0].loc[3].h=0; gPieceType[103].mytype[0].loc[3].v=1; gPieceType[103].mytype[0].loc[4].h=1; gPieceType[103].mytype[0].loc[4].v=1; gPieceType[103].mytype[0].loc[5].h=2; gPieceType[103].mytype[0].loc[5].v=1; gPieceType[103].mytype[0].loc[6].h=3; gPieceType[103].mytype[0].loc[6].v=1; gPieceType[103].mytype[0].loc[7].h=4; gPieceType[103].mytype[0].loc[7].v=1; gPieceType[103].mytype[0].full[0]=false; gPieceType[103].mytype[0].full[1]=true; gPieceType[103].mytype[0].full[2]=false; gPieceType[103].mytype[0].full[3]=false; gPieceType[103].mytype[0].full[4]=true; gPieceType[103].mytype[0].full[5]=true; gPieceType[103].mytype[0].full[6]=true; gPieceType[103].mytype[0].full[7]=false; gPieceType[103].mytype[0].up[0]=false; gPieceType[103].mytype[0].up[1]=true; gPieceType[103].mytype[0].up[2]=false; gPieceType[103].mytype[0].up[3]=false; gPieceType[103].mytype[0].up[4]=true; gPieceType[103].mytype[0].up[5]=false; gPieceType[103].mytype[0].up[6]=true; gPieceType[103].mytype[0].up[7]=false; gPieceType[103].mytype[0].halfindex[0][0]=RR; gPieceType[103].mytype[0].halfindex[0][1]=LL; gPieceType[103].mytype[0].halfindex[2][0]=LL; gPieceType[103].mytype[0].halfindex[2][1]=RR; gPieceType[103].mytype[0].halfindex[3][0]=RR; gPieceType[103].mytype[0].halfindex[3][1]=LL; gPieceType[103].mytype[0].halfindex[7][0]=LL; gPieceType[103].mytype[0].halfindex[7][1]=UU; //---------------------- 104 --------------// gPieceType[104].totalnum=8; gPieceType[104].num0=4; gPieceType[104].num1=4; gPieceType[104].mytype[0].loc[0].h=1; gPieceType[104].mytype[0].loc[0].v=0; gPieceType[104].mytype[0].loc[1].h=2; gPieceType[104].mytype[0].loc[1].v=0; gPieceType[104].mytype[0].loc[2].h=3; gPieceType[104].mytype[0].loc[2].v=0; gPieceType[104].mytype[0].loc[3].h=0; gPieceType[104].mytype[0].loc[3].v=1; gPieceType[104].mytype[0].loc[4].h=1; gPieceType[104].mytype[0].loc[4].v=1; gPieceType[104].mytype[0].loc[5].h=2; gPieceType[104].mytype[0].loc[5].v=1; gPieceType[104].mytype[0].loc[6].h=3; gPieceType[104].mytype[0].loc[6].v=1; gPieceType[104].mytype[0].loc[7].h=4; gPieceType[104].mytype[0].loc[7].v=1; gPieceType[104].mytype[0].full[0]=false; gPieceType[104].mytype[0].full[1]=true; gPieceType[104].mytype[0].full[2]=false; gPieceType[104].mytype[0].full[3]=false; gPieceType[104].mytype[0].full[4]=true; gPieceType[104].mytype[0].full[5]=true; gPieceType[104].mytype[0].full[6]=true; gPieceType[104].mytype[0].full[7]=false; gPieceType[104].mytype[0].up[0]=false; gPieceType[104].mytype[0].up[1]=true; gPieceType[104].mytype[0].up[2]=false; gPieceType[104].mytype[0].up[3]=false; gPieceType[104].mytype[0].up[4]=true; gPieceType[104].mytype[0].up[5]=false; gPieceType[104].mytype[0].up[6]=true; gPieceType[104].mytype[0].up[7]=false; gPieceType[104].mytype[0].halfindex[0][0]=RR; gPieceType[104].mytype[0].halfindex[0][1]=LL; gPieceType[104].mytype[0].halfindex[2][0]=LL; gPieceType[104].mytype[0].halfindex[2][1]=UU; gPieceType[104].mytype[0].halfindex[3][0]=RR; gPieceType[104].mytype[0].halfindex[3][1]=UU; gPieceType[104].mytype[0].halfindex[7][0]=LL; gPieceType[104].mytype[0].halfindex[7][1]=UU; //---------------------- 105 --------------// gPieceType[105].totalnum=8; gPieceType[105].num0=4; gPieceType[105].num1=4; gPieceType[105].mytype[0].loc[0].h=2; gPieceType[105].mytype[0].loc[0].v=0; gPieceType[105].mytype[0].loc[1].h=0; gPieceType[105].mytype[0].loc[1].v=1; gPieceType[105].mytype[0].loc[2].h=1; gPieceType[105].mytype[0].loc[2].v=1; gPieceType[105].mytype[0].loc[3].h=2; gPieceType[105].mytype[0].loc[3].v=1; gPieceType[105].mytype[0].loc[4].h=3; gPieceType[105].mytype[0].loc[4].v=1; gPieceType[105].mytype[0].loc[5].h=1; gPieceType[105].mytype[0].loc[5].v=2; gPieceType[105].mytype[0].loc[6].h=2; gPieceType[105].mytype[0].loc[6].v=2; gPieceType[105].mytype[0].loc[7].h=3; gPieceType[105].mytype[0].loc[7].v=2; gPieceType[105].mytype[0].full[0]=true; gPieceType[105].mytype[0].full[1]=false; gPieceType[105].mytype[0].full[2]=true; gPieceType[105].mytype[0].full[3]=true; gPieceType[105].mytype[0].full[4]=true; gPieceType[105].mytype[0].full[5]=false; gPieceType[105].mytype[0].full[6]=false; gPieceType[105].mytype[0].full[7]=false; gPieceType[105].mytype[0].up[0]=true; gPieceType[105].mytype[0].up[1]=false; gPieceType[105].mytype[0].up[2]=true; gPieceType[105].mytype[0].up[3]=false; gPieceType[105].mytype[0].up[4]=true; gPieceType[105].mytype[0].up[5]=false; gPieceType[105].mytype[0].up[6]=true; gPieceType[105].mytype[0].up[7]=false; gPieceType[105].mytype[0].halfindex[1][0]=RR; gPieceType[105].mytype[0].halfindex[1][1]=LL; gPieceType[105].mytype[0].halfindex[5][0]=RR; gPieceType[105].mytype[0].halfindex[5][1]=UU; gPieceType[105].mytype[0].halfindex[6][0]=LL; gPieceType[105].mytype[0].halfindex[6][1]=RR; gPieceType[105].mytype[0].halfindex[7][0]=UU; gPieceType[105].mytype[0].halfindex[7][1]=LL; //---------------------- 106 --------------// gPieceType[106].totalnum=8; gPieceType[106].num0=4; gPieceType[106].num1=4; gPieceType[106].mytype[0].loc[0].h=2; gPieceType[106].mytype[0].loc[0].v=0; gPieceType[106].mytype[0].loc[1].h=0; gPieceType[106].mytype[0].loc[1].v=1; gPieceType[106].mytype[0].loc[2].h=1; gPieceType[106].mytype[0].loc[2].v=1; gPieceType[106].mytype[0].loc[3].h=2; gPieceType[106].mytype[0].loc[3].v=1; gPieceType[106].mytype[0].loc[4].h=3; gPieceType[106].mytype[0].loc[4].v=1; gPieceType[106].mytype[0].loc[5].h=1; gPieceType[106].mytype[0].loc[5].v=2; gPieceType[106].mytype[0].loc[6].h=2; gPieceType[106].mytype[0].loc[6].v=2; gPieceType[106].mytype[0].loc[7].h=3; gPieceType[106].mytype[0].loc[7].v=2; gPieceType[106].mytype[0].full[0]=true; gPieceType[106].mytype[0].full[1]=false; gPieceType[106].mytype[0].full[2]=true; gPieceType[106].mytype[0].full[3]=true; gPieceType[106].mytype[0].full[4]=true; gPieceType[106].mytype[0].full[5]=false; gPieceType[106].mytype[0].full[6]=false; gPieceType[106].mytype[0].full[7]=false; gPieceType[106].mytype[0].up[0]=true; gPieceType[106].mytype[0].up[1]=false; gPieceType[106].mytype[0].up[2]=true; gPieceType[106].mytype[0].up[3]=false; gPieceType[106].mytype[0].up[4]=true; gPieceType[106].mytype[0].up[5]=false; gPieceType[106].mytype[0].up[6]=true; gPieceType[106].mytype[0].up[7]=false; gPieceType[106].mytype[0].halfindex[1][0]=RR; gPieceType[106].mytype[0].halfindex[1][1]=UU; gPieceType[106].mytype[0].halfindex[5][0]=RR; gPieceType[106].mytype[0].halfindex[5][1]=UU; gPieceType[106].mytype[0].halfindex[6][0]=LL; gPieceType[106].mytype[0].halfindex[6][1]=RR; gPieceType[106].mytype[0].halfindex[7][0]=UU; gPieceType[106].mytype[0].halfindex[7][1]=LL; //---------------------- 107 --------------// gPieceType[107].totalnum=8; gPieceType[107].num0=4; gPieceType[107].num1=4; gPieceType[107].mytype[0].loc[0].h=0; gPieceType[107].mytype[0].loc[0].v=0; gPieceType[107].mytype[0].loc[1].h=1; gPieceType[107].mytype[0].loc[1].v=0; gPieceType[107].mytype[0].loc[2].h=0; gPieceType[107].mytype[0].loc[2].v=1; gPieceType[107].mytype[0].loc[3].h=1; gPieceType[107].mytype[0].loc[3].v=1; gPieceType[107].mytype[0].loc[4].h=2; gPieceType[107].mytype[0].loc[4].v=1; gPieceType[107].mytype[0].loc[5].h=0; gPieceType[107].mytype[0].loc[5].v=2; gPieceType[107].mytype[0].loc[6].h=1; gPieceType[107].mytype[0].loc[6].v=2; gPieceType[107].mytype[0].loc[7].h=2; gPieceType[107].mytype[0].loc[7].v=2; gPieceType[107].mytype[0].full[0]=false; gPieceType[107].mytype[0].full[1]=true; gPieceType[107].mytype[0].full[2]=true; gPieceType[107].mytype[0].full[3]=true; gPieceType[107].mytype[0].full[4]=true; gPieceType[107].mytype[0].full[5]=false; gPieceType[107].mytype[0].full[6]=false; gPieceType[107].mytype[0].full[7]=false; gPieceType[107].mytype[0].up[0]=false; gPieceType[107].mytype[0].up[1]=true; gPieceType[107].mytype[0].up[2]=true; gPieceType[107].mytype[0].up[3]=false; gPieceType[107].mytype[0].up[4]=true; gPieceType[107].mytype[0].up[5]=false; gPieceType[107].mytype[0].up[6]=true; gPieceType[107].mytype[0].up[7]=false; gPieceType[107].mytype[0].halfindex[0][0]=RR; gPieceType[107].mytype[0].halfindex[0][1]=LL; gPieceType[107].mytype[0].halfindex[5][0]=RR; gPieceType[107].mytype[0].halfindex[5][1]=UU; gPieceType[107].mytype[0].halfindex[6][0]=LL; gPieceType[107].mytype[0].halfindex[6][1]=RR; gPieceType[107].mytype[0].halfindex[7][0]=UU; gPieceType[107].mytype[0].halfindex[7][1]=LL; //---------------------- 108 --------------// gPieceType[108].totalnum=8; gPieceType[108].num0=4; gPieceType[108].num1=4; gPieceType[108].mytype[0].loc[0].h=0; gPieceType[108].mytype[0].loc[0].v=0; gPieceType[108].mytype[0].loc[1].h=1; gPieceType[108].mytype[0].loc[1].v=0; gPieceType[108].mytype[0].loc[2].h=0; gPieceType[108].mytype[0].loc[2].v=1; gPieceType[108].mytype[0].loc[3].h=1; gPieceType[108].mytype[0].loc[3].v=1; gPieceType[108].mytype[0].loc[4].h=2; gPieceType[108].mytype[0].loc[4].v=1; gPieceType[108].mytype[0].loc[5].h=0; gPieceType[108].mytype[0].loc[5].v=2; gPieceType[108].mytype[0].loc[6].h=1; gPieceType[108].mytype[0].loc[6].v=2; gPieceType[108].mytype[0].loc[7].h=2; gPieceType[108].mytype[0].loc[7].v=2; gPieceType[108].mytype[0].full[0]=false; gPieceType[108].mytype[0].full[1]=true; gPieceType[108].mytype[0].full[2]=true; gPieceType[108].mytype[0].full[3]=true; gPieceType[108].mytype[0].full[4]=true; gPieceType[108].mytype[0].full[5]=false; gPieceType[108].mytype[0].full[6]=false; gPieceType[108].mytype[0].full[7]=false; gPieceType[108].mytype[0].up[0]=false; gPieceType[108].mytype[0].up[1]=true; gPieceType[108].mytype[0].up[2]=true; gPieceType[108].mytype[0].up[3]=false; gPieceType[108].mytype[0].up[4]=true; gPieceType[108].mytype[0].up[5]=false; gPieceType[108].mytype[0].up[6]=true; gPieceType[108].mytype[0].up[7]=false; gPieceType[108].mytype[0].halfindex[0][0]=RR; gPieceType[108].mytype[0].halfindex[0][1]=UU; gPieceType[108].mytype[0].halfindex[5][0]=RR; gPieceType[108].mytype[0].halfindex[5][1]=UU; gPieceType[108].mytype[0].halfindex[6][0]=LL; gPieceType[108].mytype[0].halfindex[6][1]=RR; gPieceType[108].mytype[0].halfindex[7][0]=UU; gPieceType[108].mytype[0].halfindex[7][1]=LL; //---------------------- 109 --------------// gPieceType[109].totalnum=8; gPieceType[109].num0=4; gPieceType[109].num1=4; gPieceType[109].mytype[0].loc[0].h=1; gPieceType[109].mytype[0].loc[0].v=0; gPieceType[109].mytype[0].loc[1].h=2; gPieceType[109].mytype[0].loc[1].v=0; gPieceType[109].mytype[0].loc[2].h=0; gPieceType[109].mytype[0].loc[2].v=1; gPieceType[109].mytype[0].loc[3].h=1; gPieceType[109].mytype[0].loc[3].v=1; gPieceType[109].mytype[0].loc[4].h=2; gPieceType[109].mytype[0].loc[4].v=1; gPieceType[109].mytype[0].loc[5].h=0; gPieceType[109].mytype[0].loc[5].v=2; gPieceType[109].mytype[0].loc[6].h=1; gPieceType[109].mytype[0].loc[6].v=2; gPieceType[109].mytype[0].loc[7].h=2; gPieceType[109].mytype[0].loc[7].v=2; gPieceType[109].mytype[0].full[0]=true; gPieceType[109].mytype[0].full[1]=false; gPieceType[109].mytype[0].full[2]=true; gPieceType[109].mytype[0].full[3]=true; gPieceType[109].mytype[0].full[4]=true; gPieceType[109].mytype[0].full[5]=false; gPieceType[109].mytype[0].full[6]=false; gPieceType[109].mytype[0].full[7]=false; gPieceType[109].mytype[0].up[0]=true; gPieceType[109].mytype[0].up[1]=false; gPieceType[109].mytype[0].up[2]=true; gPieceType[109].mytype[0].up[3]=false; gPieceType[109].mytype[0].up[4]=true; gPieceType[109].mytype[0].up[5]=false; gPieceType[109].mytype[0].up[6]=true; gPieceType[109].mytype[0].up[7]=false; gPieceType[109].mytype[0].halfindex[1][0]=LL; gPieceType[109].mytype[0].halfindex[1][1]=UU; gPieceType[109].mytype[0].halfindex[5][0]=RR; gPieceType[109].mytype[0].halfindex[5][1]=UU; gPieceType[109].mytype[0].halfindex[6][0]=LL; gPieceType[109].mytype[0].halfindex[6][1]=RR; gPieceType[109].mytype[0].halfindex[7][0]=UU; gPieceType[109].mytype[0].halfindex[7][1]=LL; } }