From a05e65a048db96d0e86e216e4d7be94e74aba375 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 24 Mar 2019 01:28:23 -0400 Subject: Use rand(3) Disgusting, I know. randUniform is based on the FreeBSD implementation of arc4random_uniform(3). --- sol.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sol.c') 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 (;;) { -- cgit 1.4.1