12 lines
200 B
C
12 lines
200 B
C
#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;
|
|
}
|
|
} |