MULTITHREADED FOR EPICNESSSSSS

This commit is contained in:
2025-10-17 14:29:22 +02:00
parent 0e133aff32
commit f0e9d5c751
7 changed files with 148 additions and 95 deletions

View File

@@ -12,6 +12,10 @@
#include "rooster.h"
int same_coordinate(coordinate a, coordinate b) {
return a.x == b.x && a.y == b.y;
}
int modulo(const int number, const int mod) {
int result = number % mod;
if (result < 0) {