lucastle6969 / comp371

repository for comp371 final project Fall 2017 Concordia
0 stars 0 forks source link

Random number generation not identical for different machines #35

Open benwiley4000 opened 6 years ago

benwiley4000 commented 6 years ago

Due to implementation differences, we can't expect the same seed value to produce the same displayed content on different machines (although the same seed value does consistently produce the same displayed value on the same machine).

The solution is to replace our random number generation library - maybe the easiest solution would be to copy the rand/srand implementations from the C standard, as suggested here.