public bool isAnyColumnComplete() { for (int j = 0; j < 3; j++) { String val = getValue(0, j); if (val != EMPTY && val == getValue(1, j) && val == getValue(2, j)) return true; } return false; }