Skip to content

worldHash beta ​

Function of @v12-engine/engine/testing

ts
worldHash: (world: World) => string

The simulation's state as a hash: two worlds with the same hash are, to all that is saved of them, the same. Fourteen hex digits (cyrb53, of the save as JSON, but the hash of the rules, which another build of the same code writes otherwise): enough to tell drift, not to stand against someone forging a state