//------------------ SetUpPieceClass17 -------------------// import java.awt.*; import java.applet.*; import java.io.*; import java.lang.String; import java.util.Random; import java.util.Date; public class mySetUpPiece17 { final int RR=0, LL=1, DD= 2,UU =3; void TP_DoSetUpEternityPiece17(myPieceTypeClass gPieceType[]) { //---------------------- 170 --------------// gPieceType[170].totalnum=8; gPieceType[170].num0=4; gPieceType[170].num1=4; gPieceType[170].mytype[0].loc[0].h=2; gPieceType[170].mytype[0].loc[0].v=0; gPieceType[170].mytype[0].loc[1].h=0; gPieceType[170].mytype[0].loc[1].v=1; gPieceType[170].mytype[0].loc[2].h=1; gPieceType[170].mytype[0].loc[2].v=1; gPieceType[170].mytype[0].loc[3].h=2; gPieceType[170].mytype[0].loc[3].v=1; gPieceType[170].mytype[0].loc[4].h=3; gPieceType[170].mytype[0].loc[4].v=1; gPieceType[170].mytype[0].loc[5].h=1; gPieceType[170].mytype[0].loc[5].v=2; gPieceType[170].mytype[0].loc[6].h=2; gPieceType[170].mytype[0].loc[6].v=2; gPieceType[170].mytype[0].loc[7].h=3; gPieceType[170].mytype[0].loc[7].v=2; gPieceType[170].mytype[0].full[0]=false; gPieceType[170].mytype[0].full[1]=false; gPieceType[170].mytype[0].full[2]=true; gPieceType[170].mytype[0].full[3]=true; gPieceType[170].mytype[0].full[4]=true; gPieceType[170].mytype[0].full[5]=false; gPieceType[170].mytype[0].full[6]=true; gPieceType[170].mytype[0].full[7]=false; gPieceType[170].mytype[0].up[0]=true; gPieceType[170].mytype[0].up[1]=false; gPieceType[170].mytype[0].up[2]=true; gPieceType[170].mytype[0].up[3]=false; gPieceType[170].mytype[0].up[4]=true; gPieceType[170].mytype[0].up[5]=false; gPieceType[170].mytype[0].up[6]=true; gPieceType[170].mytype[0].up[7]=false; gPieceType[170].mytype[0].halfindex[0][0]=DD; gPieceType[170].mytype[0].halfindex[0][1]=RR; gPieceType[170].mytype[0].halfindex[1][0]=RR; gPieceType[170].mytype[0].halfindex[1][1]=LL; gPieceType[170].mytype[0].halfindex[5][0]=RR; gPieceType[170].mytype[0].halfindex[5][1]=UU; gPieceType[170].mytype[0].halfindex[7][0]=LL; gPieceType[170].mytype[0].halfindex[7][1]=UU; //---------------------- 171 --------------// gPieceType[171].totalnum=8; gPieceType[171].num0=4; gPieceType[171].num1=4; gPieceType[171].mytype[0].loc[0].h=2; gPieceType[171].mytype[0].loc[0].v=0; gPieceType[171].mytype[0].loc[1].h=0; gPieceType[171].mytype[0].loc[1].v=1; gPieceType[171].mytype[0].loc[2].h=1; gPieceType[171].mytype[0].loc[2].v=1; gPieceType[171].mytype[0].loc[3].h=2; gPieceType[171].mytype[0].loc[3].v=1; gPieceType[171].mytype[0].loc[4].h=3; gPieceType[171].mytype[0].loc[4].v=1; gPieceType[171].mytype[0].loc[5].h=1; gPieceType[171].mytype[0].loc[5].v=2; gPieceType[171].mytype[0].loc[6].h=2; gPieceType[171].mytype[0].loc[6].v=2; gPieceType[171].mytype[0].loc[7].h=3; gPieceType[171].mytype[0].loc[7].v=2; gPieceType[171].mytype[0].full[0]=false; gPieceType[171].mytype[0].full[1]=false; gPieceType[171].mytype[0].full[2]=true; gPieceType[171].mytype[0].full[3]=true; gPieceType[171].mytype[0].full[4]=true; gPieceType[171].mytype[0].full[5]=false; gPieceType[171].mytype[0].full[6]=true; gPieceType[171].mytype[0].full[7]=false; gPieceType[171].mytype[0].up[0]=true; gPieceType[171].mytype[0].up[1]=false; gPieceType[171].mytype[0].up[2]=true; gPieceType[171].mytype[0].up[3]=false; gPieceType[171].mytype[0].up[4]=true; gPieceType[171].mytype[0].up[5]=false; gPieceType[171].mytype[0].up[6]=true; gPieceType[171].mytype[0].up[7]=false; gPieceType[171].mytype[0].halfindex[0][0]=DD; gPieceType[171].mytype[0].halfindex[0][1]=LL; gPieceType[171].mytype[0].halfindex[1][0]=RR; gPieceType[171].mytype[0].halfindex[1][1]=UU; gPieceType[171].mytype[0].halfindex[5][0]=RR; gPieceType[171].mytype[0].halfindex[5][1]=UU; gPieceType[171].mytype[0].halfindex[7][0]=LL; gPieceType[171].mytype[0].halfindex[7][1]=UU; //---------------------- 172--------------// gPieceType[172].totalnum=8; gPieceType[172].num0=4; gPieceType[172].num1=4; gPieceType[172].mytype[0].loc[0].h=2; gPieceType[172].mytype[0].loc[0].v=0; gPieceType[172].mytype[0].loc[1].h=0; gPieceType[172].mytype[0].loc[1].v=1; gPieceType[172].mytype[0].loc[2].h=1; gPieceType[172].mytype[0].loc[2].v=1; gPieceType[172].mytype[0].loc[3].h=2; gPieceType[172].mytype[0].loc[3].v=1; gPieceType[172].mytype[0].loc[4].h=3; gPieceType[172].mytype[0].loc[4].v=1; gPieceType[172].mytype[0].loc[5].h=1; gPieceType[172].mytype[0].loc[5].v=2; gPieceType[172].mytype[0].loc[6].h=2; gPieceType[172].mytype[0].loc[6].v=2; gPieceType[172].mytype[0].loc[7].h=3; gPieceType[172].mytype[0].loc[7].v=2; gPieceType[172].mytype[0].full[0]=false; gPieceType[172].mytype[0].full[1]=false; gPieceType[172].mytype[0].full[2]=true; gPieceType[172].mytype[0].full[3]=true; gPieceType[172].mytype[0].full[4]=true; gPieceType[172].mytype[0].full[5]=false; gPieceType[172].mytype[0].full[6]=true; gPieceType[172].mytype[0].full[7]=false; gPieceType[172].mytype[0].up[0]=true; gPieceType[172].mytype[0].up[1]=false; gPieceType[172].mytype[0].up[2]=true; gPieceType[172].mytype[0].up[3]=false; gPieceType[172].mytype[0].up[4]=true; gPieceType[172].mytype[0].up[5]=false; gPieceType[172].mytype[0].up[6]=true; gPieceType[172].mytype[0].up[7]=false; gPieceType[172].mytype[0].halfindex[0][0]=DD; gPieceType[172].mytype[0].halfindex[0][1]=LL; gPieceType[172].mytype[0].halfindex[1][0]=RR; gPieceType[172].mytype[0].halfindex[1][1]=LL; gPieceType[172].mytype[0].halfindex[5][0]=RR; gPieceType[172].mytype[0].halfindex[5][1]=UU; gPieceType[172].mytype[0].halfindex[7][0]=UU; gPieceType[172].mytype[0].halfindex[7][1]=LL; //---------------------- 173 --------------// gPieceType[173].totalnum=8; gPieceType[173].num0=4; gPieceType[173].num1=4; gPieceType[173].mytype[0].loc[0].h=2; gPieceType[173].mytype[0].loc[0].v=0; gPieceType[173].mytype[0].loc[1].h=0; gPieceType[173].mytype[0].loc[1].v=1; gPieceType[173].mytype[0].loc[2].h=1; gPieceType[173].mytype[0].loc[2].v=1; gPieceType[173].mytype[0].loc[3].h=2; gPieceType[173].mytype[0].loc[3].v=1; gPieceType[173].mytype[0].loc[4].h=3; gPieceType[173].mytype[0].loc[4].v=1; gPieceType[173].mytype[0].loc[5].h=1; gPieceType[173].mytype[0].loc[5].v=2; gPieceType[173].mytype[0].loc[6].h=2; gPieceType[173].mytype[0].loc[6].v=2; gPieceType[173].mytype[0].loc[7].h=3; gPieceType[173].mytype[0].loc[7].v=2; gPieceType[173].mytype[0].full[0]=false; gPieceType[173].mytype[0].full[1]=false; gPieceType[173].mytype[0].full[2]=true; gPieceType[173].mytype[0].full[3]=true; gPieceType[173].mytype[0].full[4]=true; gPieceType[173].mytype[0].full[5]=false; gPieceType[173].mytype[0].full[6]=true; gPieceType[173].mytype[0].full[7]=false; gPieceType[173].mytype[0].up[0]=true; gPieceType[173].mytype[0].up[1]=false; gPieceType[173].mytype[0].up[2]=true; gPieceType[173].mytype[0].up[3]=false; gPieceType[173].mytype[0].up[4]=true; gPieceType[173].mytype[0].up[5]=false; gPieceType[173].mytype[0].up[6]=true; gPieceType[173].mytype[0].up[7]=false; gPieceType[173].mytype[0].halfindex[0][0]=DD; gPieceType[173].mytype[0].halfindex[0][1]=LL; gPieceType[173].mytype[0].halfindex[1][0]=RR; gPieceType[173].mytype[0].halfindex[1][1]=UU; gPieceType[173].mytype[0].halfindex[5][0]=RR; gPieceType[173].mytype[0].halfindex[5][1]=UU; gPieceType[173].mytype[0].halfindex[7][0]=UU; gPieceType[173].mytype[0].halfindex[7][1]=LL; //---------------------- 174 --------------// gPieceType[174].totalnum=8; gPieceType[174].num0=4; gPieceType[174].num1=4; gPieceType[174].mytype[0].loc[0].h=0; gPieceType[174].mytype[0].loc[0].v=0; gPieceType[174].mytype[0].loc[1].h=1; gPieceType[174].mytype[0].loc[1].v=0; gPieceType[174].mytype[0].loc[2].h=2; gPieceType[174].mytype[0].loc[2].v=0; gPieceType[174].mytype[0].loc[3].h=3; gPieceType[174].mytype[0].loc[3].v=0; gPieceType[174].mytype[0].loc[4].h=4; gPieceType[174].mytype[0].loc[4].v=0; gPieceType[174].mytype[0].loc[5].h=1; gPieceType[174].mytype[0].loc[5].v=1; gPieceType[174].mytype[0].loc[6].h=2; gPieceType[174].mytype[0].loc[6].v=1; gPieceType[174].mytype[0].loc[7].h=3; gPieceType[174].mytype[0].loc[7].v=1; gPieceType[174].mytype[0].full[0]=false; gPieceType[174].mytype[0].full[1]=true; gPieceType[174].mytype[0].full[2]=true; gPieceType[174].mytype[0].full[3]=true; gPieceType[174].mytype[0].full[4]=false; gPieceType[174].mytype[0].full[5]=false; gPieceType[174].mytype[0].full[6]=true; gPieceType[174].mytype[0].full[7]=false; gPieceType[174].mytype[0].up[0]=false; gPieceType[174].mytype[0].up[1]=true; gPieceType[174].mytype[0].up[2]=false; gPieceType[174].mytype[0].up[3]=true; gPieceType[174].mytype[0].up[4]=false; gPieceType[174].mytype[0].up[5]=false; gPieceType[174].mytype[0].up[6]=true; gPieceType[174].mytype[0].up[7]=false; gPieceType[174].mytype[0].halfindex[0][0]=RR; gPieceType[174].mytype[0].halfindex[0][1]=UU; gPieceType[174].mytype[0].halfindex[4][0]=LL; gPieceType[174].mytype[0].halfindex[4][1]=UU; gPieceType[174].mytype[0].halfindex[5][0]=RR; gPieceType[174].mytype[0].halfindex[5][1]=UU; gPieceType[174].mytype[0].halfindex[7][0]=UU; gPieceType[174].mytype[0].halfindex[7][1]=LL; //---------------------- 175 --------------// gPieceType[175].totalnum=8; gPieceType[175].num0=4; gPieceType[175].num1=4; gPieceType[175].mytype[0].loc[0].h=1; gPieceType[175].mytype[0].loc[0].v=0; gPieceType[175].mytype[0].loc[1].h=0; gPieceType[175].mytype[0].loc[1].v=1; gPieceType[175].mytype[0].loc[2].h=1; gPieceType[175].mytype[0].loc[2].v=1; gPieceType[175].mytype[0].loc[3].h=2; gPieceType[175].mytype[0].loc[3].v=1; gPieceType[175].mytype[0].loc[4].h=3; gPieceType[175].mytype[0].loc[4].v=1; gPieceType[175].mytype[0].loc[5].h=0; gPieceType[175].mytype[0].loc[5].v=2; gPieceType[175].mytype[0].loc[6].h=1; gPieceType[175].mytype[0].loc[6].v=2; gPieceType[175].mytype[0].loc[7].h=2; gPieceType[175].mytype[0].loc[7].v=2; gPieceType[175].mytype[0].full[0]=false; gPieceType[175].mytype[0].full[1]=true; gPieceType[175].mytype[0].full[2]=true; gPieceType[175].mytype[0].full[3]=true; gPieceType[175].mytype[0].full[4]=false; gPieceType[175].mytype[0].full[5]=false; gPieceType[175].mytype[0].full[6]=true; gPieceType[175].mytype[0].full[7]=false; gPieceType[175].mytype[0].up[0]=true; gPieceType[175].mytype[0].up[1]=true; gPieceType[175].mytype[0].up[2]=false; gPieceType[175].mytype[0].up[3]=true; gPieceType[175].mytype[0].up[4]=false; gPieceType[175].mytype[0].up[5]=false; gPieceType[175].mytype[0].up[6]=true; gPieceType[175].mytype[0].up[7]=false; gPieceType[175].mytype[0].halfindex[0][0]=DD; gPieceType[175].mytype[0].halfindex[0][1]=LL; gPieceType[175].mytype[0].halfindex[4][0]=LL; gPieceType[175].mytype[0].halfindex[4][1]=RR; gPieceType[175].mytype[0].halfindex[5][0]=RR; gPieceType[175].mytype[0].halfindex[5][1]=UU; gPieceType[175].mytype[0].halfindex[7][0]=UU; gPieceType[175].mytype[0].halfindex[7][1]=LL; //---------------------- 176 --------------// gPieceType[176].totalnum=8; gPieceType[176].num0=4; gPieceType[176].num1=4; gPieceType[176].mytype[0].loc[0].h=1; gPieceType[176].mytype[0].loc[0].v=0; gPieceType[176].mytype[0].loc[1].h=0; gPieceType[176].mytype[0].loc[1].v=1; gPieceType[176].mytype[0].loc[2].h=1; gPieceType[176].mytype[0].loc[2].v=1; gPieceType[176].mytype[0].loc[3].h=2; gPieceType[176].mytype[0].loc[3].v=1; gPieceType[176].mytype[0].loc[4].h=3; gPieceType[176].mytype[0].loc[4].v=1; gPieceType[176].mytype[0].loc[5].h=0; gPieceType[176].mytype[0].loc[5].v=2; gPieceType[176].mytype[0].loc[6].h=1; gPieceType[176].mytype[0].loc[6].v=2; gPieceType[176].mytype[0].loc[7].h=2; gPieceType[176].mytype[0].loc[7].v=2; gPieceType[176].mytype[0].full[0]=false; gPieceType[176].mytype[0].full[1]=true; gPieceType[176].mytype[0].full[2]=true; gPieceType[176].mytype[0].full[3]=true; gPieceType[176].mytype[0].full[4]=false; gPieceType[176].mytype[0].full[5]=false; gPieceType[176].mytype[0].full[6]=true; gPieceType[176].mytype[0].full[7]=false; gPieceType[176].mytype[0].up[0]=true; gPieceType[176].mytype[0].up[1]=true; gPieceType[176].mytype[0].up[2]=false; gPieceType[176].mytype[0].up[3]=true; gPieceType[176].mytype[0].up[4]=false; gPieceType[176].mytype[0].up[5]=false; gPieceType[176].mytype[0].up[6]=true; gPieceType[176].mytype[0].up[7]=false; gPieceType[176].mytype[0].halfindex[0][0]=DD; gPieceType[176].mytype[0].halfindex[0][1]=RR; gPieceType[176].mytype[0].halfindex[4][0]=LL; gPieceType[176].mytype[0].halfindex[4][1]=RR; gPieceType[176].mytype[0].halfindex[5][0]=RR; gPieceType[176].mytype[0].halfindex[5][1]=UU; gPieceType[176].mytype[0].halfindex[7][0]=UU; gPieceType[176].mytype[0].halfindex[7][1]=LL; //---------------------- 177 --------------// gPieceType[177].totalnum=8; gPieceType[177].num0=4; gPieceType[177].num1=4; gPieceType[177].mytype[0].loc[0].h=1; gPieceType[177].mytype[0].loc[0].v=0; gPieceType[177].mytype[0].loc[1].h=0; gPieceType[177].mytype[0].loc[1].v=1; gPieceType[177].mytype[0].loc[2].h=1; gPieceType[177].mytype[0].loc[2].v=1; gPieceType[177].mytype[0].loc[3].h=2; gPieceType[177].mytype[0].loc[3].v=1; gPieceType[177].mytype[0].loc[4].h=0; gPieceType[177].mytype[0].loc[4].v=2; gPieceType[177].mytype[0].loc[5].h=1; gPieceType[177].mytype[0].loc[5].v=2; gPieceType[177].mytype[0].loc[6].h=2; gPieceType[177].mytype[0].loc[6].v=2; gPieceType[177].mytype[0].loc[7].h=1; gPieceType[177].mytype[0].loc[7].v=3; gPieceType[177].mytype[0].full[0]=false; gPieceType[177].mytype[0].full[1]=true; gPieceType[177].mytype[0].full[2]=true; gPieceType[177].mytype[0].full[3]=true; gPieceType[177].mytype[0].full[4]=false; gPieceType[177].mytype[0].full[5]=true; gPieceType[177].mytype[0].full[6]=false; gPieceType[177].mytype[0].full[7]=false; gPieceType[177].mytype[0].up[0]=true; gPieceType[177].mytype[0].up[1]=true; gPieceType[177].mytype[0].up[2]=false; gPieceType[177].mytype[0].up[3]=true; gPieceType[177].mytype[0].up[4]=false; gPieceType[177].mytype[0].up[5]=true; gPieceType[177].mytype[0].up[6]=false; gPieceType[177].mytype[0].up[7]=false; gPieceType[177].mytype[0].halfindex[0][0]=DD; gPieceType[177].mytype[0].halfindex[0][1]=LL; gPieceType[177].mytype[0].halfindex[4][0]=RR; gPieceType[177].mytype[0].halfindex[4][1]=UU; gPieceType[177].mytype[0].halfindex[6][0]=UU; gPieceType[177].mytype[0].halfindex[6][1]=LL; gPieceType[177].mytype[0].halfindex[7][0]=UU; gPieceType[177].mytype[0].halfindex[7][1]=RR; //---------------------- 178 --------------// gPieceType[178].totalnum=8; gPieceType[178].num0=4; gPieceType[178].num1=4; gPieceType[178].mytype[0].loc[0].h=0; gPieceType[178].mytype[0].loc[0].v=0; gPieceType[178].mytype[0].loc[1].h=1; gPieceType[178].mytype[0].loc[1].v=0; gPieceType[178].mytype[0].loc[2].h=2; gPieceType[178].mytype[0].loc[2].v=0; gPieceType[178].mytype[0].loc[3].h=3; gPieceType[178].mytype[0].loc[3].v=0; gPieceType[178].mytype[0].loc[4].h=0; gPieceType[178].mytype[0].loc[4].v=1; gPieceType[178].mytype[0].loc[5].h=1; gPieceType[178].mytype[0].loc[5].v=1; gPieceType[178].mytype[0].loc[6].h=2; gPieceType[178].mytype[0].loc[6].v=1; gPieceType[178].mytype[0].loc[7].h=1; gPieceType[178].mytype[0].loc[7].v=2; gPieceType[178].mytype[0].full[0]=true; gPieceType[178].mytype[0].full[1]=true; gPieceType[178].mytype[0].full[2]=true; gPieceType[178].mytype[0].full[3]=false; gPieceType[178].mytype[0].full[4]=false; gPieceType[178].mytype[0].full[5]=true; gPieceType[178].mytype[0].full[6]=false; gPieceType[178].mytype[0].full[7]=false; gPieceType[178].mytype[0].up[0]=true; gPieceType[178].mytype[0].up[1]=false; gPieceType[178].mytype[0].up[2]=true; gPieceType[178].mytype[0].up[3]=false; gPieceType[178].mytype[0].up[4]=false; gPieceType[178].mytype[0].up[5]=true; gPieceType[178].mytype[0].up[6]=false; gPieceType[178].mytype[0].up[7]=false; gPieceType[178].mytype[0].halfindex[3][0]=LL; gPieceType[178].mytype[0].halfindex[3][1]=RR; gPieceType[178].mytype[0].halfindex[4][0]=RR; gPieceType[178].mytype[0].halfindex[4][1]=UU; gPieceType[178].mytype[0].halfindex[6][0]=UU; gPieceType[178].mytype[0].halfindex[6][1]=LL; gPieceType[178].mytype[0].halfindex[7][0]=UU; gPieceType[178].mytype[0].halfindex[7][1]=RR; //---------------------- 179 --------------// gPieceType[179].totalnum=9; gPieceType[179].num0=3; gPieceType[179].num1=6; gPieceType[179].mytype[0].loc[0].h=1; gPieceType[179].mytype[0].loc[0].v=0; gPieceType[179].mytype[0].loc[1].h=2; gPieceType[179].mytype[0].loc[1].v=0; gPieceType[179].mytype[0].loc[2].h=3; gPieceType[179].mytype[0].loc[2].v=0; gPieceType[179].mytype[0].loc[3].h=4; gPieceType[179].mytype[0].loc[3].v=0; gPieceType[179].mytype[0].loc[4].h=0; gPieceType[179].mytype[0].loc[4].v=1; gPieceType[179].mytype[0].loc[5].h=1; gPieceType[179].mytype[0].loc[5].v=1; gPieceType[179].mytype[0].loc[6].h=2; gPieceType[179].mytype[0].loc[6].v=1; gPieceType[179].mytype[0].loc[7].h=3; gPieceType[179].mytype[0].loc[7].v=1; gPieceType[179].mytype[0].loc[8].h=0; gPieceType[179].mytype[0].loc[8].v=2; gPieceType[179].mytype[0].full[0]=false; gPieceType[179].mytype[0].full[1]=false; gPieceType[179].mytype[0].full[2]=true; gPieceType[179].mytype[0].full[3]=false; gPieceType[179].mytype[0].full[4]=true; gPieceType[179].mytype[0].full[5]=true; gPieceType[179].mytype[0].full[6]=false; gPieceType[179].mytype[0].full[7]=false; gPieceType[179].mytype[0].full[8]=false; gPieceType[179].mytype[0].up[0]=true; gPieceType[179].mytype[0].up[1]=false; gPieceType[179].mytype[0].up[2]=true; gPieceType[179].mytype[0].up[3]=false; gPieceType[179].mytype[0].up[4]=true; gPieceType[179].mytype[0].up[5]=false; gPieceType[179].mytype[0].up[6]=true; gPieceType[179].mytype[0].up[7]=false; gPieceType[179].mytype[0].up[8]=false; gPieceType[179].mytype[0].halfindex[0][0]=DD; gPieceType[179].mytype[0].halfindex[0][1]=RR; gPieceType[179].mytype[0].halfindex[1][0]=RR; gPieceType[179].mytype[0].halfindex[1][1]=LL; gPieceType[179].mytype[0].halfindex[3][0]=LL; gPieceType[179].mytype[0].halfindex[3][1]=UU; gPieceType[179].mytype[0].halfindex[6][0]=RR; gPieceType[179].mytype[0].halfindex[6][1]=LL; gPieceType[179].mytype[0].halfindex[7][0]=LL; gPieceType[179].mytype[0].halfindex[7][1]=UU; gPieceType[179].mytype[0].halfindex[8][0]=UU; gPieceType[179].mytype[0].halfindex[8][1]=LL; } }