//------------------ SetUpPieceClass9 -------------------// import java.awt.*; import java.applet.*; import java.io.*; import java.lang.String; import java.util.Random; import java.util.Date; public class mySetUpPiece9 { final int RR=0, LL=1, DD= 2,UU =3; void TP_DoSetUpEternityPiece9(myPieceTypeClass gPieceType[]) { //---------------------- 90 --------------// gPieceType[90].totalnum=8; gPieceType[90].num0=4; gPieceType[90].num1=4; gPieceType[90].mytype[0].loc[0].h=0; gPieceType[90].mytype[0].loc[0].v=0; gPieceType[90].mytype[0].loc[1].h=1; gPieceType[90].mytype[0].loc[1].v=0; gPieceType[90].mytype[0].loc[2].h=2; gPieceType[90].mytype[0].loc[2].v=0; gPieceType[90].mytype[0].loc[3].h=3; gPieceType[90].mytype[0].loc[3].v=0; gPieceType[90].mytype[0].loc[4].h=4; gPieceType[90].mytype[0].loc[4].v=0; gPieceType[90].mytype[0].loc[5].h=1; gPieceType[90].mytype[0].loc[5].v=1; gPieceType[90].mytype[0].loc[6].h=2; gPieceType[90].mytype[0].loc[6].v=1; gPieceType[90].mytype[0].loc[7].h=3; gPieceType[90].mytype[0].loc[7].v=1; gPieceType[90].mytype[0].full[0]=true; gPieceType[90].mytype[0].full[1]=true; gPieceType[90].mytype[0].full[2]=true; gPieceType[90].mytype[0].full[3]=true; gPieceType[90].mytype[0].full[4]=false; gPieceType[90].mytype[0].full[5]=false; gPieceType[90].mytype[0].full[6]=false; gPieceType[90].mytype[0].full[7]=false; gPieceType[90].mytype[0].up[0]=false; gPieceType[90].mytype[0].up[1]=true; gPieceType[90].mytype[0].up[2]=false; gPieceType[90].mytype[0].up[3]=true; gPieceType[90].mytype[0].up[4]=false; gPieceType[90].mytype[0].up[5]=false; gPieceType[90].mytype[0].up[6]=true; gPieceType[90].mytype[0].up[7]=false; gPieceType[90].mytype[0].halfindex[4][0]=LL; gPieceType[90].mytype[0].halfindex[4][1]=UU; gPieceType[90].mytype[0].halfindex[5][0]=RR; gPieceType[90].mytype[0].halfindex[5][1]=UU; gPieceType[90].mytype[0].halfindex[6][0]=LL; gPieceType[90].mytype[0].halfindex[6][1]=RR; gPieceType[90].mytype[0].halfindex[7][0]=UU; gPieceType[90].mytype[0].halfindex[7][1]=LL; //---------------------- 91 --------------// gPieceType[91].totalnum=8; gPieceType[91].num0=4; gPieceType[91].num1=4; gPieceType[91].mytype[0].loc[0].h=0; gPieceType[91].mytype[0].loc[0].v=0; gPieceType[91].mytype[0].loc[1].h=0; gPieceType[91].mytype[0].loc[1].v=1; gPieceType[91].mytype[0].loc[2].h=1; gPieceType[91].mytype[0].loc[2].v=1; gPieceType[91].mytype[0].loc[3].h=2; gPieceType[91].mytype[0].loc[3].v=1; gPieceType[91].mytype[0].loc[4].h=3; gPieceType[91].mytype[0].loc[4].v=1; gPieceType[91].mytype[0].loc[5].h=1; gPieceType[91].mytype[0].loc[5].v=2; gPieceType[91].mytype[0].loc[6].h=2; gPieceType[91].mytype[0].loc[6].v=2; gPieceType[91].mytype[0].loc[7].h=3; gPieceType[91].mytype[0].loc[7].v=2; gPieceType[91].mytype[0].full[0]=false; gPieceType[91].mytype[0].full[1]=true; gPieceType[91].mytype[0].full[2]=true; gPieceType[91].mytype[0].full[3]=true; gPieceType[91].mytype[0].full[4]=true; gPieceType[91].mytype[0].full[5]=false; gPieceType[91].mytype[0].full[6]=false; gPieceType[91].mytype[0].full[7]=false; gPieceType[91].mytype[0].up[0]=true; gPieceType[91].mytype[0].up[1]=false; gPieceType[91].mytype[0].up[2]=true; gPieceType[91].mytype[0].up[3]=false; gPieceType[91].mytype[0].up[4]=true; gPieceType[91].mytype[0].up[5]=false; gPieceType[91].mytype[0].up[6]=true; gPieceType[91].mytype[0].up[7]=false; gPieceType[91].mytype[0].halfindex[0][0]=DD; gPieceType[91].mytype[0].halfindex[0][1]=RR; gPieceType[91].mytype[0].halfindex[5][0]=RR; gPieceType[91].mytype[0].halfindex[5][1]=UU; gPieceType[91].mytype[0].halfindex[6][0]=LL; gPieceType[91].mytype[0].halfindex[6][1]=RR; gPieceType[91].mytype[0].halfindex[7][0]=UU; gPieceType[91].mytype[0].halfindex[7][1]=LL; //---------------------- 92 --------------// gPieceType[92].totalnum=8; gPieceType[92].num0=4; gPieceType[92].num1=4; gPieceType[92].mytype[0].loc[0].h=0; gPieceType[92].mytype[0].loc[0].v=0; gPieceType[92].mytype[0].loc[1].h=0; gPieceType[92].mytype[0].loc[1].v=1; gPieceType[92].mytype[0].loc[2].h=1; gPieceType[92].mytype[0].loc[2].v=1; gPieceType[92].mytype[0].loc[3].h=2; gPieceType[92].mytype[0].loc[3].v=1; gPieceType[92].mytype[0].loc[4].h=3; gPieceType[92].mytype[0].loc[4].v=1; gPieceType[92].mytype[0].loc[5].h=1; gPieceType[92].mytype[0].loc[5].v=2; gPieceType[92].mytype[0].loc[6].h=2; gPieceType[92].mytype[0].loc[6].v=2; gPieceType[92].mytype[0].loc[7].h=3; gPieceType[92].mytype[0].loc[7].v=2; gPieceType[92].mytype[0].full[0]=false; gPieceType[92].mytype[0].full[1]=true; gPieceType[92].mytype[0].full[2]=true; gPieceType[92].mytype[0].full[3]=true; gPieceType[92].mytype[0].full[4]=true; gPieceType[92].mytype[0].full[5]=false; gPieceType[92].mytype[0].full[6]=false; gPieceType[92].mytype[0].full[7]=false; gPieceType[92].mytype[0].up[0]=true; gPieceType[92].mytype[0].up[1]=false; gPieceType[92].mytype[0].up[2]=true; gPieceType[92].mytype[0].up[3]=false; gPieceType[92].mytype[0].up[4]=true; gPieceType[92].mytype[0].up[5]=false; gPieceType[92].mytype[0].up[6]=true; gPieceType[92].mytype[0].up[7]=false; gPieceType[92].mytype[0].halfindex[0][0]=DD; gPieceType[92].mytype[0].halfindex[0][1]=LL; gPieceType[92].mytype[0].halfindex[5][0]=RR; gPieceType[92].mytype[0].halfindex[5][1]=UU; gPieceType[92].mytype[0].halfindex[6][0]=LL; gPieceType[92].mytype[0].halfindex[6][1]=RR; gPieceType[92].mytype[0].halfindex[7][0]=UU; gPieceType[92].mytype[0].halfindex[7][1]=LL; //---------------------- 93 --------------// gPieceType[93].totalnum=8; gPieceType[93].num0=4; gPieceType[93].num1=4; gPieceType[93].mytype[0].loc[0].h=0; gPieceType[93].mytype[0].loc[0].v=0; gPieceType[93].mytype[0].loc[1].h=1; gPieceType[93].mytype[0].loc[1].v=0; gPieceType[93].mytype[0].loc[2].h=2; gPieceType[93].mytype[0].loc[2].v=0; gPieceType[93].mytype[0].loc[3].h=3; gPieceType[93].mytype[0].loc[3].v=0; gPieceType[93].mytype[0].loc[4].h=4; gPieceType[93].mytype[0].loc[4].v=0; gPieceType[93].mytype[0].loc[5].h=2; gPieceType[93].mytype[0].loc[5].v=1; gPieceType[93].mytype[0].loc[6].h=3; gPieceType[93].mytype[0].loc[6].v=1; gPieceType[93].mytype[0].loc[7].h=4; gPieceType[93].mytype[0].loc[7].v=1; gPieceType[93].mytype[0].full[0]=false; gPieceType[93].mytype[0].full[1]=true; gPieceType[93].mytype[0].full[2]=true; gPieceType[93].mytype[0].full[3]=true; gPieceType[93].mytype[0].full[4]=true; gPieceType[93].mytype[0].full[5]=false; gPieceType[93].mytype[0].full[6]=false; gPieceType[93].mytype[0].full[7]=false; gPieceType[93].mytype[0].up[0]=true; gPieceType[93].mytype[0].up[1]=false; gPieceType[93].mytype[0].up[2]=true; gPieceType[93].mytype[0].up[3]=false; gPieceType[93].mytype[0].up[4]=true; gPieceType[93].mytype[0].up[5]=false; gPieceType[93].mytype[0].up[6]=true; gPieceType[93].mytype[0].up[7]=false; gPieceType[93].mytype[0].halfindex[0][0]=RR; gPieceType[93].mytype[0].halfindex[0][1]=DD; gPieceType[93].mytype[0].halfindex[5][0]=RR; gPieceType[93].mytype[0].halfindex[5][1]=UU; gPieceType[93].mytype[0].halfindex[6][0]=LL; gPieceType[93].mytype[0].halfindex[6][1]=RR; gPieceType[93].mytype[0].halfindex[7][0]=UU; gPieceType[93].mytype[0].halfindex[7][1]=LL; //---------------------- 94 --------------// gPieceType[94].totalnum=8; gPieceType[94].num0=4; gPieceType[94].num1=4; gPieceType[94].mytype[0].loc[0].h=0; gPieceType[94].mytype[0].loc[0].v=0; gPieceType[94].mytype[0].loc[1].h=1; gPieceType[94].mytype[0].loc[1].v=0; gPieceType[94].mytype[0].loc[2].h=2; gPieceType[94].mytype[0].loc[2].v=0; gPieceType[94].mytype[0].loc[3].h=3; gPieceType[94].mytype[0].loc[3].v=0; gPieceType[94].mytype[0].loc[4].h=4; gPieceType[94].mytype[0].loc[4].v=0; gPieceType[94].mytype[0].loc[5].h=0; gPieceType[94].mytype[0].loc[5].v=1; gPieceType[94].mytype[0].loc[6].h=1; gPieceType[94].mytype[0].loc[6].v=1; gPieceType[94].mytype[0].loc[7].h=2; gPieceType[94].mytype[0].loc[7].v=1; gPieceType[94].mytype[0].full[0]=true; gPieceType[94].mytype[0].full[1]=true; gPieceType[94].mytype[0].full[2]=true; gPieceType[94].mytype[0].full[3]=true; gPieceType[94].mytype[0].full[4]=false; gPieceType[94].mytype[0].full[5]=false; gPieceType[94].mytype[0].full[6]=false; gPieceType[94].mytype[0].full[7]=false; gPieceType[94].mytype[0].up[0]=true; gPieceType[94].mytype[0].up[1]=false; gPieceType[94].mytype[0].up[2]=true; gPieceType[94].mytype[0].up[3]=false; gPieceType[94].mytype[0].up[4]=true; gPieceType[94].mytype[0].up[5]=false; gPieceType[94].mytype[0].up[6]=true; gPieceType[94].mytype[0].up[7]=false; gPieceType[94].mytype[0].halfindex[4][0]=LL; gPieceType[94].mytype[0].halfindex[4][1]=RR; gPieceType[94].mytype[0].halfindex[5][0]=RR; gPieceType[94].mytype[0].halfindex[5][1]=UU; gPieceType[94].mytype[0].halfindex[6][0]=LL; gPieceType[94].mytype[0].halfindex[6][1]=RR; gPieceType[94].mytype[0].halfindex[7][0]=UU; gPieceType[94].mytype[0].halfindex[7][1]=LL; //---------------------- 95 --------------// gPieceType[95].totalnum=8; gPieceType[95].num0=4; gPieceType[95].num1=4; gPieceType[95].mytype[0].loc[0].h=0; gPieceType[95].mytype[0].loc[0].v=0; gPieceType[95].mytype[0].loc[1].h=1; gPieceType[95].mytype[0].loc[1].v=0; gPieceType[95].mytype[0].loc[2].h=2; gPieceType[95].mytype[0].loc[2].v=0; gPieceType[95].mytype[0].loc[3].h=3; gPieceType[95].mytype[0].loc[3].v=0; gPieceType[95].mytype[0].loc[4].h=4; gPieceType[95].mytype[0].loc[4].v=0; gPieceType[95].mytype[0].loc[5].h=0; gPieceType[95].mytype[0].loc[5].v=1; gPieceType[95].mytype[0].loc[6].h=1; gPieceType[95].mytype[0].loc[6].v=1; gPieceType[95].mytype[0].loc[7].h=2; gPieceType[95].mytype[0].loc[7].v=1; gPieceType[95].mytype[0].full[0]=true; gPieceType[95].mytype[0].full[1]=true; gPieceType[95].mytype[0].full[2]=true; gPieceType[95].mytype[0].full[3]=true; gPieceType[95].mytype[0].full[4]=false; gPieceType[95].mytype[0].full[5]=false; gPieceType[95].mytype[0].full[6]=false; gPieceType[95].mytype[0].full[7]=false; gPieceType[95].mytype[0].up[0]=true; gPieceType[95].mytype[0].up[1]=false; gPieceType[95].mytype[0].up[2]=true; gPieceType[95].mytype[0].up[3]=false; gPieceType[95].mytype[0].up[4]=true; gPieceType[95].mytype[0].up[5]=false; gPieceType[95].mytype[0].up[6]=true; gPieceType[95].mytype[0].up[7]=false; gPieceType[95].mytype[0].halfindex[4][0]=LL; gPieceType[95].mytype[0].halfindex[4][1]=DD; gPieceType[95].mytype[0].halfindex[5][0]=RR; gPieceType[95].mytype[0].halfindex[5][1]=UU; gPieceType[95].mytype[0].halfindex[6][0]=LL; gPieceType[95].mytype[0].halfindex[6][1]=RR; gPieceType[95].mytype[0].halfindex[7][0]=UU; gPieceType[95].mytype[0].halfindex[7][1]=LL; //---------------------- 96 --------------// gPieceType[96].totalnum=7; gPieceType[96].num0=5; gPieceType[96].num1=2; gPieceType[96].mytype[0].loc[0].h=0; gPieceType[96].mytype[0].loc[0].v=0; gPieceType[96].mytype[0].loc[1].h=1; gPieceType[96].mytype[0].loc[1].v=0; gPieceType[96].mytype[0].loc[2].h=2; gPieceType[96].mytype[0].loc[2].v=0; gPieceType[96].mytype[0].loc[3].h=3; gPieceType[96].mytype[0].loc[3].v=0; gPieceType[96].mytype[0].loc[4].h=0; gPieceType[96].mytype[0].loc[4].v=1; gPieceType[96].mytype[0].loc[5].h=1; gPieceType[96].mytype[0].loc[5].v=1; gPieceType[96].mytype[0].loc[6].h=2; gPieceType[96].mytype[0].loc[6].v=1; gPieceType[96].mytype[0].full[0]=true; gPieceType[96].mytype[0].full[1]=true; gPieceType[96].mytype[0].full[2]=true; gPieceType[96].mytype[0].full[3]=true; gPieceType[96].mytype[0].full[4]=false; gPieceType[96].mytype[0].full[5]=true; gPieceType[96].mytype[0].full[6]=false; gPieceType[96].mytype[0].up[0]=true; gPieceType[96].mytype[0].up[1]=false; gPieceType[96].mytype[0].up[2]=true; gPieceType[96].mytype[0].up[3]=false; gPieceType[96].mytype[0].up[4]=false; gPieceType[96].mytype[0].up[5]=true; gPieceType[96].mytype[0].up[6]=false; gPieceType[96].mytype[0].halfindex[4][0]=UU; gPieceType[96].mytype[0].halfindex[4][1]=RR; gPieceType[96].mytype[0].halfindex[6][0]=LL; gPieceType[96].mytype[0].halfindex[6][1]=UU; //---------------------- 97 --------------// gPieceType[97].totalnum=8; gPieceType[97].num0=4; gPieceType[97].num1=4; gPieceType[97].mytype[0].loc[0].h=2; gPieceType[97].mytype[0].loc[0].v=0; gPieceType[97].mytype[0].loc[1].h=0; gPieceType[97].mytype[0].loc[1].v=1; gPieceType[97].mytype[0].loc[2].h=1; gPieceType[97].mytype[0].loc[2].v=1; gPieceType[97].mytype[0].loc[3].h=2; gPieceType[97].mytype[0].loc[3].v=1; gPieceType[97].mytype[0].loc[4].h=3; gPieceType[97].mytype[0].loc[4].v=1; gPieceType[97].mytype[0].loc[5].h=4; gPieceType[97].mytype[0].loc[5].v=1; gPieceType[97].mytype[0].loc[6].h=1; gPieceType[97].mytype[0].loc[6].v=2; gPieceType[97].mytype[0].loc[7].h=3; gPieceType[97].mytype[0].loc[7].v=2; gPieceType[97].mytype[0].full[0]=true; gPieceType[97].mytype[0].full[1]=false; gPieceType[97].mytype[0].full[2]=true; gPieceType[97].mytype[0].full[3]=true; gPieceType[97].mytype[0].full[4]=true; gPieceType[97].mytype[0].full[5]=false; gPieceType[97].mytype[0].full[6]=false; gPieceType[97].mytype[0].full[7]=false; gPieceType[97].mytype[0].up[0]=true; gPieceType[97].mytype[0].up[1]=false; gPieceType[97].mytype[0].up[2]=true; gPieceType[97].mytype[0].up[3]=false; gPieceType[97].mytype[0].up[4]=true; gPieceType[97].mytype[0].up[5]=false; gPieceType[97].mytype[0].up[6]=false; gPieceType[97].mytype[0].up[7]=false; gPieceType[97].mytype[0].halfindex[1][0]=RR; gPieceType[97].mytype[0].halfindex[1][1]=UU; gPieceType[97].mytype[0].halfindex[5][0]=LL; gPieceType[97].mytype[0].halfindex[5][1]=RR; gPieceType[97].mytype[0].halfindex[6][0]=UU; gPieceType[97].mytype[0].halfindex[6][1]=LL; gPieceType[97].mytype[0].halfindex[7][0]=UU; gPieceType[97].mytype[0].halfindex[7][1]=LL; //---------------------- 98 --------------// gPieceType[98].totalnum=8; gPieceType[98].num0=4; gPieceType[98].num1=4; gPieceType[98].mytype[0].loc[0].h=0; gPieceType[98].mytype[0].loc[0].v=0; gPieceType[98].mytype[0].loc[1].h=1; gPieceType[98].mytype[0].loc[1].v=0; gPieceType[98].mytype[0].loc[2].h=0; gPieceType[98].mytype[0].loc[2].v=1; gPieceType[98].mytype[0].loc[3].h=1; gPieceType[98].mytype[0].loc[3].v=1; gPieceType[98].mytype[0].loc[4].h=2; gPieceType[98].mytype[0].loc[4].v=1; gPieceType[98].mytype[0].loc[5].h=3; gPieceType[98].mytype[0].loc[5].v=1; gPieceType[98].mytype[0].loc[6].h=0; gPieceType[98].mytype[0].loc[6].v=2; gPieceType[98].mytype[0].loc[7].h=2; gPieceType[98].mytype[0].loc[7].v=2; gPieceType[98].mytype[0].full[0]=false; gPieceType[98].mytype[0].full[1]=true; gPieceType[98].mytype[0].full[2]=true; gPieceType[98].mytype[0].full[3]=true; gPieceType[98].mytype[0].full[4]=true; gPieceType[98].mytype[0].full[5]=false; gPieceType[98].mytype[0].full[6]=false; gPieceType[98].mytype[0].full[7]=false; gPieceType[98].mytype[0].up[0]=false; gPieceType[98].mytype[0].up[1]=true; gPieceType[98].mytype[0].up[2]=true; gPieceType[98].mytype[0].up[3]=false; gPieceType[98].mytype[0].up[4]=true; gPieceType[98].mytype[0].up[5]=false; gPieceType[98].mytype[0].up[6]=false; gPieceType[98].mytype[0].up[7]=false; gPieceType[98].mytype[0].halfindex[0][0]=RR; gPieceType[98].mytype[0].halfindex[0][1]=UU; gPieceType[98].mytype[0].halfindex[5][0]=LL; gPieceType[98].mytype[0].halfindex[5][1]=UU; gPieceType[98].mytype[0].halfindex[6][0]=UU; gPieceType[98].mytype[0].halfindex[6][1]=LL; gPieceType[98].mytype[0].halfindex[7][0]=UU; gPieceType[98].mytype[0].halfindex[7][1]=LL; //---------------------- 99 --------------// gPieceType[99].totalnum=8; gPieceType[99].num0=4; gPieceType[99].num1=4; gPieceType[99].mytype[0].loc[0].h=2; gPieceType[99].mytype[0].loc[0].v=0; gPieceType[99].mytype[0].loc[1].h=3; gPieceType[99].mytype[0].loc[1].v=0; gPieceType[99].mytype[0].loc[2].h=0; gPieceType[99].mytype[0].loc[2].v=1; gPieceType[99].mytype[0].loc[3].h=1; gPieceType[99].mytype[0].loc[3].v=1; gPieceType[99].mytype[0].loc[4].h=2; gPieceType[99].mytype[0].loc[4].v=1; gPieceType[99].mytype[0].loc[5].h=3; gPieceType[99].mytype[0].loc[5].v=1; gPieceType[99].mytype[0].loc[6].h=1; gPieceType[99].mytype[0].loc[6].v=2; gPieceType[99].mytype[0].loc[7].h=3; gPieceType[99].mytype[0].loc[7].v=2; gPieceType[99].mytype[0].full[0]=true; gPieceType[99].mytype[0].full[1]=false; gPieceType[99].mytype[0].full[2]=false; gPieceType[99].mytype[0].full[3]=true; gPieceType[99].mytype[0].full[4]=true; gPieceType[99].mytype[0].full[5]=true; gPieceType[99].mytype[0].full[6]=false; gPieceType[99].mytype[0].full[7]=false; gPieceType[99].mytype[0].up[0]=true; gPieceType[99].mytype[0].up[1]=false; gPieceType[99].mytype[0].up[2]=false; gPieceType[99].mytype[0].up[3]=true; gPieceType[99].mytype[0].up[4]=false; gPieceType[99].mytype[0].up[5]=true; gPieceType[99].mytype[0].up[6]=false; gPieceType[99].mytype[0].up[7]=false; gPieceType[99].mytype[0].halfindex[1][0]=LL; gPieceType[99].mytype[0].halfindex[1][1]=RR; gPieceType[99].mytype[0].halfindex[2][0]=RR; gPieceType[99].mytype[0].halfindex[2][1]=LL; gPieceType[99].mytype[0].halfindex[6][0]=UU; gPieceType[99].mytype[0].halfindex[6][1]=LL; gPieceType[99].mytype[0].halfindex[7][0]=UU; gPieceType[99].mytype[0].halfindex[7][1]=RR; } }