diff options
author | June McEnroe <june@causal.agency> | 2019-03-24 01:28:23 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-03-24 01:28:23 -0400 |
commit | a05e65a048db96d0e86e216e4d7be94e74aba375 (patch) | |
tree | 5d5c882fd49c07a392621eda80d74fa700a4a6ae /sol.c | |
parent | Search pref path, base path for CARDS.DLL, SOL.EXE (diff) | |
download | cards-a05e65a048db96d0e86e216e4d7be94e74aba375.tar.gz cards-a05e65a048db96d0e86e216e4d7be94e74aba375.zip |
Use rand(3)
Disgusting, I know. randUniform is based on the FreeBSD implementation of arc4random_uniform(3).
Diffstat (limited to '')
-rw-r--r-- | sol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sol.c b/sol.c index 3aba0c5..6f6f434 100644 --- a/sol.c +++ b/sol.c @@ -429,6 +429,7 @@ int main(void) { } Cards_Free(cards); + srand(time(NULL)); gameDeal(); for (;;) { |