diff --git a/src/Spiellogik.c b/src/Spiellogik.c index a8bff15..94f158a 100644 --- a/src/Spiellogik.c +++ b/src/Spiellogik.c @@ -1,5 +1,5 @@ #define _CRT_SECURE_NO_WARNINGS // to write faster -#define re return +#define re return #define N 20 // size of Play Field #include #include @@ -7,6 +7,7 @@ #include #include +int speed = 0; int win(int realU[N][N]){ int groesste = 0; @@ -60,7 +61,7 @@ int lose(int realU[N][N], char richtung){ else if (richtung == 'l') { if (realU[ii][jj-1] != (N*N) + 1 && realU[ii][jj-1] != 0 || jj == 0) { return 1; - + } } else { @@ -73,4 +74,4 @@ int lose(int realU[N][N], char richtung){ int probe(int input){ return input; -} \ No newline at end of file +}