Merge pull request 'Gr 4' (#5) from pablotlu/25_BKI2_2:main into main

Reviewed-on: BKI/25_BKI2_2#5
Reviewed-by: trs <constantin.tress@steinbeis.schule>
This commit is contained in:
trs 2025-01-31 10:50:41 +01:00
commit c43ab91ace

View file

@ -80,9 +80,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