 #define YELLOW rgb_color(255, 255, 0)
 #define OFF rgb_color(0, 0, 0)
 
+#define ORANGE rgb_color(143, 255, 0)
+#define CYAN rgb_color(255, 0, 255)
+
 // TODO(bhomberg): update pin numbers
 // LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
 
 PololuLedStrip<2> leds;
 rgb_color colors[STRIP_LENGTH];
+
+bool isVictorious = false;
+bool isHot = false;
+bool isBad = false;
+bool isEmpty = false;
+int badAttempts = 0;
 
 #define SWITCH_ON 1
 #define SWITCH_OFF 2

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

  if (!anyEmpty && !victory) { // Board is full but incorrect.
    sendBadLightsMessage();  // Send "I don't like the lights." audio signal.
  }

  
  return victory;
}


//  delay(10);
//}

//void loop() {
//  delay(10);
//}
//

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

