DEV505

Block wiki

Every default block

This is the shipped library, taken from the game's own registrations. Costs are in ops, and the baseline processor runs ten of them per tick — so the number in the corner of a block is the fraction of one thought it takes up.

Exec ports
The green ports. Control flows along them, one branch at a time. A block with no exec ports is a source: it never appears in the control flow and runs only when a data wire reads it.
Data ports
Inputs and outputs carrying values. Pulling an input executes whatever is wired to it, which is why reading a sensor costs its ops and leaving one unread costs nothing.
Requires Sensor
Environmental senses are hardware. A program using one is refused before it runs if the level's snake has no Sensor Segment, naming the node and the segment — and the sensor refuses again at run time, so a segment lost mid-run errors on the block instead of quietly answering stale.
Ends the tick
The five action blocks. Reaching one resolves the tick's single action and suspends the thread there; the next tick resumes at the block after it.
Items

Weight is a share of the spawn roll; score is the base value before the combo multiplier. Levels place their items by hand — free play rolls for them.