From 456df90e1ef500a7689217804275ffec4f506f8b Mon Sep 17 00:00:00 2001 From: fdai7225 Date: Sun, 29 Jan 2023 12:04:05 +0100 Subject: [PATCH] score gut Design --- src/Umgebung.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Umgebung.c b/src/Umgebung.c index 596f901..9ecd0f3 100644 --- a/src/Umgebung.c +++ b/src/Umgebung.c @@ -42,11 +42,11 @@ int main(){ Apfel(realU); if(g!=EOF){ - //while(true){ + while(true){ Umgebung(realU); - }//} + }} /*if (win(realU)) { printf("you win\n"); printf("Score: %d\n", score); @@ -66,7 +66,9 @@ int main(){ if (score == 7) { printf("SIIIIIUUUUUU\n\n"); } - if (score == (N/2)) { + if (score == ((N/2)+2)) { + printf(" ____°o°____\n"); + printf(" [___________]\n\n"); printf("Nice\n\n"); printf("mach so weiter...\n\n"); }