Developers / Starter kit / Check a build

Check a build

The same three mechanical gates the platform runs, at a smaller budget, in this tab. Nothing is uploaded - the file never leaves your machine. When a run diverges, this tells you the frame.

Try one:
a bonus path that fires once in 2,000 matches needs thousands of seeds to show up - that is why the default is 10,000

The whole contract

;; host -> game
(import "env" "input_get"   (func (param i32) (result i32)))
(import "env" "random_next" (func (result i64)))
(import "env" "frame_count" (func (result i32)))
(import "env" "checkpoint"  (func (param i32 i64)))

;; game -> host
(func (export "run")
  (param i64 i64) (result i64))

Call checkpoint(frame, hash) every N frames with a hash of your state. It costs nothing and it is the difference between "something diverged" and "frame 431 diverged".

What each gate is for

Gate 1structure - imports, exports, memory. Seconds.
Gate 2the same seed and inputs, run twice, compared checkpoint by checkpoint - plus a sweep for a score band that only opens rarely.
Gate 3a searching agent against random play on identical seeds. If searching cannot beat noise, the player is not deciding it.

Passing here is not a listing

This runs a few thousand seeds in one browser. Submission runs tens of thousands across architectures and two independent runtimes, then a shadow week at the lowest tier. What this catches is the 90% you would otherwise find out about slowly.