Apache Commons RNG
Generate repeatable pseudorandom values for Java games, simulations and tests.
apache · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
Add org.apache.commons:commons-rng-simple:1.7 to a small Java project. Seed two sample generators with the same number and compare their first draws.
What we tested
1.7. Seed two sample generators with the same number and compare their first draws. Matched both sample draws after starting the generators from the same seed.