Browse Source

Richting oben weiter

main
Siamak 2 years ago
parent
commit
14b5d91aaf
  1. 5
      src/Spiellogik.c

5
src/Spiellogik.c

@ -114,6 +114,11 @@ int update(int realU[N][N],char richtung) {
if (ii == N - 1) { if (ii == N - 1) {
return 1; return 1;
} }
if (realU[ii + 1][jj] == (N * N) + 1) {
realU[ii + 1][jj] = groesste + 1;
apple(realU);
speed = speed + 20;
}
} }
int probe(int input){ int probe(int input){

Loading…
Cancel
Save