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