diff --git a/src/main/c/Tim/SchereSteinPapier.c b/src/main/c/Tim/SchereSteinPapier.c index d71250a..72d76fc 100644 --- a/src/main/c/Tim/SchereSteinPapier.c +++ b/src/main/c/Tim/SchereSteinPapier.c @@ -1,5 +1,7 @@ #include "SchereSteinPapier.h" #include +#include +#include void schereSteinPapier() @@ -19,7 +21,9 @@ void schereSteinPapier() } else if(user == 1 || user == 2 || user == 3) { - //do something + srand(time(NULL)); + com = rand() % 3 + 1; + printf("%d\n",com); } else {