if(!inside(x,y))return false; if(chessboard[x][y].step>0&&chessboard[x][y].color==color)c='2'; else if(chessboard[x][y].step>0)c='1'; else c='0'; if(c=='0'&&qx2[kind].qx[k]=='x')continue; if(c!=qx2[kind].qx[k])return(false); } return true;}int value_qx...