public int  Get_clr(int x, int y)
	{
		if(x<0||x>6||y<0||y>5)
			return ChessBoard.OUT;
		short tmp = this.board[y];
		int a0 = ((tmp&(1<<2*x))==0)?0:1;
		int a1 = ((tmp&(1<<(2*x+1)))==0)?0:1;
		switch (a1*2+a0){
		case 0:
			return ChessBoard.EMPTY;
		case 1:
			return ChessBoard.RED;
		case 2:
			return ChessBoard.BLUE;
			default:
				throw new java.lang.RuntimeException("The color in ("+x+","+y+") is illegal!");
		}
	}