Damit entsprechend zu case 4 oder 5 gesprungen werden kann.
This commit is contained in:
pablotlu 2025-01-31 10:43:34 +01:00
parent 8914b71be3
commit 497df4eb9e

View file

@ -55,9 +55,17 @@ void loop() {
break;
case 3: // Vergleich Eingabe/Ausgabe
//Gruppe 4 start ===============================================================================
for(int i{0}; i <= level; i++)
{
if(musterEingabe[i] == musterVorgabe[i])
state = 4;
else
{
state = 5;
break;
}
}
break;
//Gruppe 4 ende ================================================================================
break;
case 4: // geschafft, Runde hochzählen und auf Display ausgeben