Closed dshadoff closed 3 months ago
POSIX functions are adeuqate until something better is required.
use:
#include <stdlib.h>
void srand(int seed);
int rand();
This adds roughly 2KB to an existing program.
So, this can be closed without requiring a code resolution.
Virtually all games need some form of randomness; a pseudo-random number generator would be handy.