|
|
"srand ( time(NULL) );"
to a higher block level where you enter the game, or reset the game.everid wrote: |
---|
if you can, move "srand ( time(NULL) );" to a higher block level where you enter the game, or reset the game. |
everid wrote: |
---|
rand() % 95, strictly speaking, is not a uniform random number, because 95 is not a divisor of the RAND_MAX. So you end up with a slight bias which is usually negligible. |