   delay(10);
 }
 
+//void loop() {
+//  bool victory = update();
+//  leds.write(colors, STRIP_LENGTH);
+//  delay(50);
+//  if (victory) {
+//    delay(500);
+//    setAllBlue();
+//  }
+//}
+

      }
    }
  }
  bool victory = !anyInvalid && !anyEmpty && !anyWallConstrainsViolated;
  return victory;
}


    int row = getRow(index);
    int col = getCol(index);
    setColor(row, col, BLUE);  // Victory! Make everything blue.
  }
}

void sendRedLightsMessage() {
  if (USE_SERIAL) {
    Serial.println(10);  // Send "Ahhhhhh!" audio signal.
  }
}

void sendBadLightsMessage() {
  if (USE_SERIAL) {
    Serial.println(11);  // Send "I don't like the lights." audio signal.
  }
}

