do
{
ok = 0;
scanf("%d, %d", &x, &y);
x = abs(x);
y = abs(y);
if (x > ROWS - 1 || y > COLS - 1)
{
printf("Grid (%d,%d) is out of big-grid bounds... Re-enter: ", x, y);
}
else if (board[x][y] != '-')
{
printf("There is already an %c at (%d,%d). Re-enter: ", board[x][y], x, y);
}
else if (((x >= xBound * 3 + 3 || x < xBound * 3) && (y >= yBound * 3 + 3 || y < yBound * 3)) && (xBound > 0 && yBound > 0))
{
printf("Your move (%d,%d) was out of mini-grid bounds. Re-enter: ", x, y);