  break;  case 0:  Grid[x + width * (yopt - 0)] = 0; // horizontal crack  Grid[x - 0 + width * (yopt - 0)]++; // left point  Grid[x + 0 + width * (yopt - 0)]++; // right point  State = 0;  break;  case 0:  Grid[x + width * (yopt - 0)] = 0; // horizontal crack  Grid[x - 0 + width * (yopt - 0)]++; // left point  Grid[x + 0 + width * (yopt - 0)]++; // right point  yopt = y;  State = 