Skip to content

Instantly share code, notes, and snippets.

@onlyshk
Created November 5, 2010 16:07
Show Gist options
  • Save onlyshk/664365 to your computer and use it in GitHub Desktop.
Save onlyshk/664365 to your computer and use it in GitHub Desktop.
// //
// //***************************************************
// // x - down
// //***************************************************
// //
// x = (int)(e->y() / 40);
// y = (int)(e->x() / 40);
// if (x != 7)
// {
// k = x;
// z = x;
// if (field[x][y] != field[x + 1][y] && fields[x + 1][y].checked)
// {
// z += 1;
// while (z != 8)
// {
// if (field[z][y] == EMPTY)
// break;
// if (field[z][y] == field[x][y])
// {
// s = z;
// break;
// }
// ++z;
// }
// if (s != 0)
// {
// while (k < s)
// {
// k++;
// field[k][y] = field[x][y];
// }
// repaint();
// }
// }
// }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment