Add check for simple win condition

pull/14/head
Dennis Bücker 2 years ago
parent efa3de5207
commit 9eb5512a1a
  1. 7
      src/SimonSays.cpp

@ -85,6 +85,13 @@ void SimonSays::checkBtnPress()
{
if (m5device.Btn.wasPressed()) {
Serial.println("Btn pressed");
if (currentColorId == 0) {
Serial.println("success");
}
else {
Serial.println("FAIL!");
}
}
};

Loading…
Cancel
Save