From 75822d694cbb6cb8df61388870fbb37b791e6333 Mon Sep 17 00:00:00 2001 From: Siamak Date: Fri, 10 Feb 2023 17:02:33 +0100 Subject: [PATCH] Rechts beginnen --- src/Spiellogik.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Spiellogik.c b/src/Spiellogik.c index 609281a..d1b65c1 100644 --- a/src/Spiellogik.c +++ b/src/Spiellogik.c @@ -160,6 +160,11 @@ int update(int realU[N][N],char richtung) { } } } + else { + if (jj == N - 1) { + return 1; + } + } int probe(int input){ return input;