This commit is contained in:
Miloslav Ciz 2024-08-31 14:44:45 +02:00
parent 124b9d1e7c
commit 3f374a4713
85 changed files with 2281 additions and 2272 deletions

View file

@ -169,7 +169,7 @@ void updateAnts(void)
ants[i].chip = 1;
}
}
ants[i].pos = newPos;
}
}
@ -186,7 +186,7 @@ int main(void)
ants[i].pos = rand() % (WORLD_SIZE * WORLD_SIZE);
ants[i].chip = 0;
}
int i;
while (1)
@ -204,4 +204,4 @@ int main(void)
printWorld();
return 0;
}
```
```