//------------------ SetUpPieceClass8 -------------------// import java.awt.*; import java.applet.*; import java.io.*; import java.lang.String; import java.util.Random; import java.util.Date; public class mySetUpPiece8 { final int RR=0, LL=1, DD= 2,UU =3; void TP_DoSetUpEternityPiece8(myPieceTypeClass gPieceType[]) { //---------------------- 80 --------------// gPieceType[80].totalnum=8; gPieceType[80].num0=4; gPieceType[80].num1=4; gPieceType[80].mytype[0].loc[0].h=2; gPieceType[80].mytype[0].loc[0].v=0; gPieceType[80].mytype[0].loc[1].h=4; gPieceType[80].mytype[0].loc[1].v=0; gPieceType[80].mytype[0].loc[2].h=0; gPieceType[80].mytype[0].loc[2].v=1; gPieceType[80].mytype[0].loc[3].h=1; gPieceType[80].mytype[0].loc[3].v=1; gPieceType[80].mytype[0].loc[4].h=2; gPieceType[80].mytype[0].loc[4].v=1; gPieceType[80].mytype[0].loc[5].h=3; gPieceType[80].mytype[0].loc[5].v=1; gPieceType[80].mytype[0].loc[6].h=4; gPieceType[80].mytype[0].loc[6].v=1; gPieceType[80].mytype[0].loc[7].h=3; gPieceType[80].mytype[0].loc[7].v=2; gPieceType[80].mytype[0].full[0]=false; gPieceType[80].mytype[0].full[1]=false; gPieceType[80].mytype[0].full[2]=false; gPieceType[80].mytype[0].full[3]=true; gPieceType[80].mytype[0].full[4]=true; gPieceType[80].mytype[0].full[5]=true; gPieceType[80].mytype[0].full[6]=true; gPieceType[80].mytype[0].full[7]=false; gPieceType[80].mytype[0].up[0]=true; gPieceType[80].mytype[0].up[1]=true; gPieceType[80].mytype[0].up[2]=false; gPieceType[80].mytype[0].up[3]=true; gPieceType[80].mytype[0].up[4]=false; gPieceType[80].mytype[0].up[5]=true; gPieceType[80].mytype[0].up[6]=false; gPieceType[80].mytype[0].up[7]=false; gPieceType[80].mytype[0].halfindex[0][0]=DD; gPieceType[80].mytype[0].halfindex[0][1]=LL; gPieceType[80].mytype[0].halfindex[1][0]=DD; gPieceType[80].mytype[0].halfindex[1][1]=LL; gPieceType[80].mytype[0].halfindex[2][0]=RR; gPieceType[80].mytype[0].halfindex[2][1]=LL; gPieceType[80].mytype[0].halfindex[7][0]=UU; gPieceType[80].mytype[0].halfindex[7][1]=RR; //---------------------- 81 --------------// gPieceType[81].totalnum=8; gPieceType[81].num0=4; gPieceType[81].num1=4; gPieceType[81].mytype[0].loc[0].h=2; gPieceType[81].mytype[0].loc[0].v=0; gPieceType[81].mytype[0].loc[1].h=4; gPieceType[81].mytype[0].loc[1].v=0; gPieceType[81].mytype[0].loc[2].h=0; gPieceType[81].mytype[0].loc[2].v=1; gPieceType[81].mytype[0].loc[3].h=1; gPieceType[81].mytype[0].loc[3].v=1; gPieceType[81].mytype[0].loc[4].h=2; gPieceType[81].mytype[0].loc[4].v=1; gPieceType[81].mytype[0].loc[5].h=3; gPieceType[81].mytype[0].loc[5].v=1; gPieceType[81].mytype[0].loc[6].h=4; gPieceType[81].mytype[0].loc[6].v=1; gPieceType[81].mytype[0].loc[7].h=3; gPieceType[81].mytype[0].loc[7].v=2; gPieceType[81].mytype[0].full[0]=false; gPieceType[81].mytype[0].full[1]=false; gPieceType[81].mytype[0].full[2]=false; gPieceType[81].mytype[0].full[3]=true; gPieceType[81].mytype[0].full[4]=true; gPieceType[81].mytype[0].full[5]=true; gPieceType[81].mytype[0].full[6]=true; gPieceType[81].mytype[0].full[7]=false; gPieceType[81].mytype[0].up[0]=true; gPieceType[81].mytype[0].up[1]=true; gPieceType[81].mytype[0].up[2]=false; gPieceType[81].mytype[0].up[3]=true; gPieceType[81].mytype[0].up[4]=false; gPieceType[81].mytype[0].up[5]=true; gPieceType[81].mytype[0].up[6]=false; gPieceType[81].mytype[0].up[7]=false; gPieceType[81].mytype[0].halfindex[0][0]=DD; gPieceType[81].mytype[0].halfindex[0][1]=LL; gPieceType[81].mytype[0].halfindex[1][0]=DD; gPieceType[81].mytype[0].halfindex[1][1]=RR; gPieceType[81].mytype[0].halfindex[2][0]=RR; gPieceType[81].mytype[0].halfindex[2][1]=LL; gPieceType[81].mytype[0].halfindex[7][0]=UU; gPieceType[81].mytype[0].halfindex[7][1]=RR; //---------------------- 82 --------------// gPieceType[82].totalnum=8; gPieceType[82].num0=4; gPieceType[82].num1=4; gPieceType[82].mytype[0].loc[0].h=3; gPieceType[82].mytype[0].loc[0].v=0; gPieceType[82].mytype[0].loc[1].h=0; gPieceType[82].mytype[0].loc[1].v=1; gPieceType[82].mytype[0].loc[2].h=1; gPieceType[82].mytype[0].loc[2].v=1; gPieceType[82].mytype[0].loc[3].h=2; gPieceType[82].mytype[0].loc[3].v=1; gPieceType[82].mytype[0].loc[4].h=3; gPieceType[82].mytype[0].loc[4].v=1; gPieceType[82].mytype[0].loc[5].h=4; gPieceType[82].mytype[0].loc[5].v=1; gPieceType[82].mytype[0].loc[6].h=0; gPieceType[82].mytype[0].loc[6].v=2; gPieceType[82].mytype[0].loc[7].h=2; gPieceType[82].mytype[0].loc[7].v=2; gPieceType[82].mytype[0].full[0]=false; gPieceType[82].mytype[0].full[1]=true; gPieceType[82].mytype[0].full[2]=true; gPieceType[82].mytype[0].full[3]=true; gPieceType[82].mytype[0].full[4]=true; gPieceType[82].mytype[0].full[5]=false; gPieceType[82].mytype[0].full[6]=false; gPieceType[82].mytype[0].full[7]=false; gPieceType[82].mytype[0].up[0]=true; gPieceType[82].mytype[0].up[1]=true; gPieceType[82].mytype[0].up[2]=false; gPieceType[82].mytype[0].up[3]=true; gPieceType[82].mytype[0].up[4]=false; gPieceType[82].mytype[0].up[5]=true; gPieceType[82].mytype[0].up[6]=false; gPieceType[82].mytype[0].up[7]=false; gPieceType[82].mytype[0].halfindex[0][0]=DD; gPieceType[82].mytype[0].halfindex[0][1]=LL; gPieceType[82].mytype[0].halfindex[5][0]=LL; gPieceType[82].mytype[0].halfindex[5][1]=RR; gPieceType[82].mytype[0].halfindex[6][0]=UU; gPieceType[82].mytype[0].halfindex[6][1]=RR; gPieceType[82].mytype[0].halfindex[7][0]=UU; gPieceType[82].mytype[0].halfindex[7][1]=LL; //---------------------- 83 --------------// gPieceType[83].totalnum=8; gPieceType[83].num0=4; gPieceType[83].num1=4; gPieceType[83].mytype[0].loc[0].h=2; gPieceType[83].mytype[0].loc[0].v=0; gPieceType[83].mytype[0].loc[1].h=4; gPieceType[83].mytype[0].loc[1].v=0; gPieceType[83].mytype[0].loc[2].h=0; gPieceType[83].mytype[0].loc[2].v=1; gPieceType[83].mytype[0].loc[3].h=1; gPieceType[83].mytype[0].loc[3].v=1; gPieceType[83].mytype[0].loc[4].h=2; gPieceType[83].mytype[0].loc[4].v=1; gPieceType[83].mytype[0].loc[5].h=3; gPieceType[83].mytype[0].loc[5].v=1; gPieceType[83].mytype[0].loc[6].h=4; gPieceType[83].mytype[0].loc[6].v=1; gPieceType[83].mytype[0].loc[7].h=3; gPieceType[83].mytype[0].loc[7].v=2; gPieceType[83].mytype[0].full[0]=false; gPieceType[83].mytype[0].full[1]=false; gPieceType[83].mytype[0].full[2]=false; gPieceType[83].mytype[0].full[3]=true; gPieceType[83].mytype[0].full[4]=true; gPieceType[83].mytype[0].full[5]=true; gPieceType[83].mytype[0].full[6]=true; gPieceType[83].mytype[0].full[7]=false; gPieceType[83].mytype[0].up[0]=true; gPieceType[83].mytype[0].up[1]=true; gPieceType[83].mytype[0].up[2]=false; gPieceType[83].mytype[0].up[3]=true; gPieceType[83].mytype[0].up[4]=false; gPieceType[83].mytype[0].up[5]=true; gPieceType[83].mytype[0].up[6]=false; gPieceType[83].mytype[0].up[7]=false; gPieceType[83].mytype[0].halfindex[0][0]=DD; gPieceType[83].mytype[0].halfindex[0][1]=RR; gPieceType[83].mytype[0].halfindex[1][0]=DD; gPieceType[83].mytype[0].halfindex[1][1]=RR; gPieceType[83].mytype[0].halfindex[2][0]=RR; gPieceType[83].mytype[0].halfindex[2][1]=LL; gPieceType[83].mytype[0].halfindex[7][0]=UU; gPieceType[83].mytype[0].halfindex[7][1]=LL; //---------------------- 84 --------------// gPieceType[84].totalnum=8; gPieceType[84].num0=4; gPieceType[84].num1=4; gPieceType[84].mytype[0].loc[0].h=4; gPieceType[84].mytype[0].loc[0].v=0; gPieceType[84].mytype[0].loc[1].h=0; gPieceType[84].mytype[0].loc[1].v=1; gPieceType[84].mytype[0].loc[2].h=1; gPieceType[84].mytype[0].loc[2].v=1; gPieceType[84].mytype[0].loc[3].h=2; gPieceType[84].mytype[0].loc[3].v=1; gPieceType[84].mytype[0].loc[4].h=3; gPieceType[84].mytype[0].loc[4].v=1; gPieceType[84].mytype[0].loc[5].h=4; gPieceType[84].mytype[0].loc[5].v=1; gPieceType[84].mytype[0].loc[6].h=1; gPieceType[84].mytype[0].loc[6].v=2; gPieceType[84].mytype[0].loc[7].h=3; gPieceType[84].mytype[0].loc[7].v=2; gPieceType[84].mytype[0].full[0]=false; gPieceType[84].mytype[0].full[1]=false; gPieceType[84].mytype[0].full[2]=true; gPieceType[84].mytype[0].full[3]=true; gPieceType[84].mytype[0].full[4]=true; gPieceType[84].mytype[0].full[5]=true; gPieceType[84].mytype[0].full[6]=false; gPieceType[84].mytype[0].full[7]=false; gPieceType[84].mytype[0].up[0]=true; gPieceType[84].mytype[0].up[1]=false; gPieceType[84].mytype[0].up[2]=true; gPieceType[84].mytype[0].up[3]=false; gPieceType[84].mytype[0].up[4]=true; gPieceType[84].mytype[0].up[5]=false; gPieceType[84].mytype[0].up[6]=false; gPieceType[84].mytype[0].up[7]=false; gPieceType[84].mytype[0].halfindex[0][0]=DD; gPieceType[84].mytype[0].halfindex[0][1]=LL; gPieceType[84].mytype[0].halfindex[1][0]=RR; gPieceType[84].mytype[0].halfindex[1][1]=LL; gPieceType[84].mytype[0].halfindex[6][0]=UU; gPieceType[84].mytype[0].halfindex[6][1]=LL; gPieceType[84].mytype[0].halfindex[7][0]=UU; gPieceType[84].mytype[0].halfindex[7][1]=RR; //---------------------- 85 --------------// gPieceType[85].totalnum=8; gPieceType[85].num0=4; gPieceType[85].num1=4; gPieceType[85].mytype[0].loc[0].h=4; gPieceType[85].mytype[0].loc[0].v=0; gPieceType[85].mytype[0].loc[1].h=0; gPieceType[85].mytype[0].loc[1].v=1; gPieceType[85].mytype[0].loc[2].h=1; gPieceType[85].mytype[0].loc[2].v=1; gPieceType[85].mytype[0].loc[3].h=2; gPieceType[85].mytype[0].loc[3].v=1; gPieceType[85].mytype[0].loc[4].h=3; gPieceType[85].mytype[0].loc[4].v=1; gPieceType[85].mytype[0].loc[5].h=4; gPieceType[85].mytype[0].loc[5].v=1; gPieceType[85].mytype[0].loc[6].h=1; gPieceType[85].mytype[0].loc[6].v=2; gPieceType[85].mytype[0].loc[7].h=3; gPieceType[85].mytype[0].loc[7].v=2; gPieceType[85].mytype[0].full[0]=false; gPieceType[85].mytype[0].full[1]=false; gPieceType[85].mytype[0].full[2]=true; gPieceType[85].mytype[0].full[3]=true; gPieceType[85].mytype[0].full[4]=true; gPieceType[85].mytype[0].full[5]=true; gPieceType[85].mytype[0].full[6]=false; gPieceType[85].mytype[0].full[7]=false; gPieceType[85].mytype[0].up[0]=true; gPieceType[85].mytype[0].up[1]=false; gPieceType[85].mytype[0].up[2]=true; gPieceType[85].mytype[0].up[3]=false; gPieceType[85].mytype[0].up[4]=true; gPieceType[85].mytype[0].up[5]=false; gPieceType[85].mytype[0].up[6]=false; gPieceType[85].mytype[0].up[7]=false; gPieceType[85].mytype[0].halfindex[0][0]=DD; gPieceType[85].mytype[0].halfindex[0][1]=LL; gPieceType[85].mytype[0].halfindex[1][0]=RR; gPieceType[85].mytype[0].halfindex[1][1]=LL; gPieceType[85].mytype[0].halfindex[6][0]=UU; gPieceType[85].mytype[0].halfindex[6][1]=LL; gPieceType[85].mytype[0].halfindex[7][0]=UU; gPieceType[85].mytype[0].halfindex[7][1]=LL; //---------------------- 86 --------------// gPieceType[86].totalnum=8; gPieceType[86].num0=4; gPieceType[86].num1=4; gPieceType[86].mytype[0].loc[0].h=4; gPieceType[86].mytype[0].loc[0].v=0; gPieceType[86].mytype[0].loc[1].h=0; gPieceType[86].mytype[0].loc[1].v=1; gPieceType[86].mytype[0].loc[2].h=1; gPieceType[86].mytype[0].loc[2].v=1; gPieceType[86].mytype[0].loc[3].h=2; gPieceType[86].mytype[0].loc[3].v=1; gPieceType[86].mytype[0].loc[4].h=3; gPieceType[86].mytype[0].loc[4].v=1; gPieceType[86].mytype[0].loc[5].h=4; gPieceType[86].mytype[0].loc[5].v=1; gPieceType[86].mytype[0].loc[6].h=1; gPieceType[86].mytype[0].loc[6].v=2; gPieceType[86].mytype[0].loc[7].h=3; gPieceType[86].mytype[0].loc[7].v=2; gPieceType[86].mytype[0].full[0]=false; gPieceType[86].mytype[0].full[1]=false; gPieceType[86].mytype[0].full[2]=true; gPieceType[86].mytype[0].full[3]=true; gPieceType[86].mytype[0].full[4]=true; gPieceType[86].mytype[0].full[5]=true; gPieceType[86].mytype[0].full[6]=false; gPieceType[86].mytype[0].full[7]=false; gPieceType[86].mytype[0].up[0]=true; gPieceType[86].mytype[0].up[1]=false; gPieceType[86].mytype[0].up[2]=true; gPieceType[86].mytype[0].up[3]=false; gPieceType[86].mytype[0].up[4]=true; gPieceType[86].mytype[0].up[5]=false; gPieceType[86].mytype[0].up[6]=false; gPieceType[86].mytype[0].up[7]=false; gPieceType[86].mytype[0].halfindex[0][0]=DD; gPieceType[86].mytype[0].halfindex[0][1]=RR; gPieceType[86].mytype[0].halfindex[1][0]=RR; gPieceType[86].mytype[0].halfindex[1][1]=LL; gPieceType[86].mytype[0].halfindex[6][0]=UU; gPieceType[86].mytype[0].halfindex[6][1]=RR; gPieceType[86].mytype[0].halfindex[7][0]=UU; gPieceType[86].mytype[0].halfindex[7][1]=LL; //---------------------- 87 --------------// gPieceType[87].totalnum=8; gPieceType[87].num0=4; gPieceType[87].num1=4; gPieceType[87].mytype[0].loc[0].h=4; gPieceType[87].mytype[0].loc[0].v=0; gPieceType[87].mytype[0].loc[1].h=0; gPieceType[87].mytype[0].loc[1].v=1; gPieceType[87].mytype[0].loc[2].h=1; gPieceType[87].mytype[0].loc[2].v=1; gPieceType[87].mytype[0].loc[3].h=2; gPieceType[87].mytype[0].loc[3].v=1; gPieceType[87].mytype[0].loc[4].h=3; gPieceType[87].mytype[0].loc[4].v=1; gPieceType[87].mytype[0].loc[5].h=4; gPieceType[87].mytype[0].loc[5].v=1; gPieceType[87].mytype[0].loc[6].h=1; gPieceType[87].mytype[0].loc[6].v=2; gPieceType[87].mytype[0].loc[7].h=3; gPieceType[87].mytype[0].loc[7].v=2; gPieceType[87].mytype[0].full[0]=false; gPieceType[87].mytype[0].full[1]=false; gPieceType[87].mytype[0].full[2]=true; gPieceType[87].mytype[0].full[3]=true; gPieceType[87].mytype[0].full[4]=true; gPieceType[87].mytype[0].full[5]=true; gPieceType[87].mytype[0].full[6]=false; gPieceType[87].mytype[0].full[7]=false; gPieceType[87].mytype[0].up[0]=true; gPieceType[87].mytype[0].up[1]=false; gPieceType[87].mytype[0].up[2]=true; gPieceType[87].mytype[0].up[3]=false; gPieceType[87].mytype[0].up[4]=true; gPieceType[87].mytype[0].up[5]=false; gPieceType[87].mytype[0].up[6]=false; gPieceType[87].mytype[0].up[7]=false; gPieceType[87].mytype[0].halfindex[0][0]=DD; gPieceType[87].mytype[0].halfindex[0][1]=RR; gPieceType[87].mytype[0].halfindex[1][0]=RR; gPieceType[87].mytype[0].halfindex[1][1]=LL; gPieceType[87].mytype[0].halfindex[6][0]=UU; gPieceType[87].mytype[0].halfindex[6][1]=LL; gPieceType[87].mytype[0].halfindex[7][0]=UU; gPieceType[87].mytype[0].halfindex[7][1]=LL; //---------------------- 88 --------------// gPieceType[88].totalnum=8; gPieceType[88].num0=4; gPieceType[88].num1=4; gPieceType[88].mytype[0].loc[0].h=0; gPieceType[88].mytype[0].loc[0].v=0; gPieceType[88].mytype[0].loc[1].h=1; gPieceType[88].mytype[0].loc[1].v=0; gPieceType[88].mytype[0].loc[2].h=2; gPieceType[88].mytype[0].loc[2].v=0; gPieceType[88].mytype[0].loc[3].h=3; gPieceType[88].mytype[0].loc[3].v=0; gPieceType[88].mytype[0].loc[4].h=4; gPieceType[88].mytype[0].loc[4].v=0; gPieceType[88].mytype[0].loc[5].h=0; gPieceType[88].mytype[0].loc[5].v=1; gPieceType[88].mytype[0].loc[6].h=1; gPieceType[88].mytype[0].loc[6].v=1; gPieceType[88].mytype[0].loc[7].h=2; gPieceType[88].mytype[0].loc[7].v=1; gPieceType[88].mytype[0].full[0]=false; gPieceType[88].mytype[0].full[1]=true; gPieceType[88].mytype[0].full[2]=true; gPieceType[88].mytype[0].full[3]=true; gPieceType[88].mytype[0].full[4]=true; gPieceType[88].mytype[0].full[5]=false; gPieceType[88].mytype[0].full[6]=false; gPieceType[88].mytype[0].full[7]=false; gPieceType[88].mytype[0].up[0]=true; gPieceType[88].mytype[0].up[1]=false; gPieceType[88].mytype[0].up[2]=true; gPieceType[88].mytype[0].up[3]=false; gPieceType[88].mytype[0].up[4]=true; gPieceType[88].mytype[0].up[5]=false; gPieceType[88].mytype[0].up[6]=true; gPieceType[88].mytype[0].up[7]=false; gPieceType[88].mytype[0].halfindex[0][0]=RR; gPieceType[88].mytype[0].halfindex[0][1]=DD; gPieceType[88].mytype[0].halfindex[5][0]=RR; gPieceType[88].mytype[0].halfindex[5][1]=UU; gPieceType[88].mytype[0].halfindex[6][0]=LL; gPieceType[88].mytype[0].halfindex[6][1]=RR; gPieceType[88].mytype[0].halfindex[7][0]=UU; gPieceType[88].mytype[0].halfindex[7][1]=LL; //---------------------- 89 --------------// gPieceType[89].totalnum=8; gPieceType[89].num0=4; gPieceType[89].num1=4; gPieceType[89].mytype[0].loc[0].h=0; gPieceType[89].mytype[0].loc[0].v=0; gPieceType[89].mytype[0].loc[1].h=1; gPieceType[89].mytype[0].loc[1].v=0; gPieceType[89].mytype[0].loc[2].h=2; gPieceType[89].mytype[0].loc[2].v=0; gPieceType[89].mytype[0].loc[3].h=3; gPieceType[89].mytype[0].loc[3].v=0; gPieceType[89].mytype[0].loc[4].h=4; gPieceType[89].mytype[0].loc[4].v=0; gPieceType[89].mytype[0].loc[5].h=1; gPieceType[89].mytype[0].loc[5].v=1; gPieceType[89].mytype[0].loc[6].h=2; gPieceType[89].mytype[0].loc[6].v=1; gPieceType[89].mytype[0].loc[7].h=3; gPieceType[89].mytype[0].loc[7].v=1; gPieceType[89].mytype[0].full[0]=true; gPieceType[89].mytype[0].full[1]=true; gPieceType[89].mytype[0].full[2]=true; gPieceType[89].mytype[0].full[3]=true; gPieceType[89].mytype[0].full[4]=false; gPieceType[89].mytype[0].full[5]=false; gPieceType[89].mytype[0].full[6]=false; gPieceType[89].mytype[0].full[7]=false; gPieceType[89].mytype[0].up[0]=false; gPieceType[89].mytype[0].up[1]=true; gPieceType[89].mytype[0].up[2]=false; gPieceType[89].mytype[0].up[3]=true; gPieceType[89].mytype[0].up[4]=false; gPieceType[89].mytype[0].up[5]=false; gPieceType[89].mytype[0].up[6]=true; gPieceType[89].mytype[0].up[7]=false; gPieceType[89].mytype[0].halfindex[4][0]=LL; gPieceType[89].mytype[0].halfindex[4][1]=RR; gPieceType[89].mytype[0].halfindex[5][0]=RR; gPieceType[89].mytype[0].halfindex[5][1]=UU; gPieceType[89].mytype[0].halfindex[6][0]=LL; gPieceType[89].mytype[0].halfindex[6][1]=RR; gPieceType[89].mytype[0].halfindex[7][0]=UU; gPieceType[89].mytype[0].halfindex[7][1]=LL; } }