Generate archipelago ring
This commit is contained in:
parent
aaa165013e
commit
b0ed6f9640
3 changed files with 46 additions and 21 deletions
lib
|
@ -1,5 +1,7 @@
|
|||
export type Prng = () => number;
|
||||
|
||||
export const UINT_MAX = 0xffffffff;
|
||||
|
||||
export function mulberry32(state: number) {
|
||||
return function () {
|
||||
let t = (state += 0x6d2b79f5);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue