Ajout TPS + Entrainements

This commit is contained in:
Simoes Lukas
2024-12-10 12:52:05 +01:00
parent 6f3e79de9d
commit f7764aa296
20 changed files with 577 additions and 30 deletions

View File

@@ -0,0 +1,12 @@
#include "carre.c"
int hue(void) {
int choice = rand()%3;
if (choice == 0) {
return RED;
} else if (choice == 1) {
return GREEN;
} else /* if (choice == 2) */ {
return BLUE;
}
}