five-on-it / packages/shared/src/prng
packages/shared/src/prng
Seeded pseudo-random numbers (mulberry32). Systems must never call Math.random: anything random in the simulation takes one of these, seeded per entity or per tick, so the server and the predicting client draw the same numbers.