Generate archipelago ring

This commit is contained in:
Tangent 2024-01-13 12:55:17 -05:00
parent aaa165013e
commit b0ed6f9640
3 changed files with 46 additions and 21 deletions

View file

@ -1,5 +1,7 @@
export type Prng = () => number;
export const UINT_MAX = 0xffffffff;
export function mulberry32(state: number) {
return function () {
let t = (state += 0x6d2b79f5);