NOT OPEN YETPRESEASONLIVEOne file holds every rule
The engine
The run, the human-input rules, the sides, the map, the nights, holding lots and the Merkle trees all live in one plain JavaScript file with no dependencies. Your browser runs it, our server runs the same bytes, and its SHA-256 is the rules version.
Our program is not on mainnet yet, so no hash is registered on chain to compare with. The hash below is computed from the file this site serves.
Its SHA-256, worked out here
working…
The file
Read it here, exactly as served. Jump to a part:
Loading /engine/v1.js…Rules versions
The file states its version as ENGINE_VERSION: 1. A new version is a new file with a new hash.
Our program registers each version's hash. A version registered while day D is the highest opened day applies from day and night D + 1, so a change never reaches back into a day that has already begun. The registered versions are listed on /program.
Next: when our program is on mainnet, this file's hash is registered there as rules version 1 before the first program day opens, and every night commit names its version. Until then each night record carries the hash of the engine that resolved it.
The same 1,000 recorded runs give the same scores in Node and in Chromium, Firefox and WebKit: the determinism results.