From d64cf75b15c47703ba92c934d5f43fc5ffe89514 Mon Sep 17 00:00:00 2001 From: Siamak Date: Fri, 10 Feb 2023 21:54:27 +0100 Subject: [PATCH] Refactoring bessere Lesbarkeit --- src/Spiellogik.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Spiellogik.c b/src/Spiellogik.c index 221d2e0..6d5dc6e 100644 --- a/src/Spiellogik.c +++ b/src/Spiellogik.c @@ -194,7 +194,7 @@ int update(int realU[N][N],char richtung) { } } if (win(realU)) { - re 1; + return 1; } else { Umgebung(realU); return 0;