13 / REFERENCE

Glossary and reading map

The outer VM, Gate proof, and gem pickup are parts of one system. This map shows how they connect. Use the links to find each example and its code in this guide.

Where does this word belong?

First, identify which part of the system owns the term. The bot calculates, the host can approve power, and the game records EXP.

The two middle cards operate together. Power can help an action, but the game adds EXP only after the knight picks up a gem. Select a box or engine link to open its chapter.

Use this page to find an explanation

Find the termThe glossary below gives its meaning.
Open the linkThe reading map points to an example and code.
Connect the partsAsk how the part affects actions, power, gems, or the result.

Most terms describe one part of the path from bot to world to EXP.

The vocabulary, in the order the pieces connect

On a phone, each term has a separate card. Read its meaning first. Then read how it connects to the game.

Term Meaning in this challenge Concrete connection
Source The bot code a person writes diver.bot says how to choose a target and move
Compiler The translator that turns source into VM instructions Turns x + 1 into small steps the VM can run
Image The instruction bytes the VM will run Loaded into the outer VM's memory
Artifact / upload The entire file sent to the runner Its wrapper can choose ABYSS before the instruction bytes begin
Engine The selected way to earn extra power The runner fixes CLASSIC or ABYSS before the match
VM A small software computer for the bot Reads one instruction at a time from its own memory
Guest The bot running inside that VM Can calculate and ask the game to act
Host The game code outside the bot's VM Owns the real knight, enemies, rules, and score
Snapshot A copy of the world at one moment, like a photo my_x() reads the last copy, which can grow old
Tick One game step, lasting 1/60 second The VM runs for a while, then the world moves on
Slice The VM's work time within one tick May fit several main calls or only part of one
Operand stack A pile of temporary numbers; the newest is used first ADD takes the top two numbers and puts their sum back
Call frame One function call's saved return spot and local values Lets main call a helper and return to the right place
Fixed point Storing a fractional number as a scaled whole number Q16.16 stores 3.5 as 229,376
Pilot The bot's steering rules Chooses where to aim, move, escape, and collect
Wedge / disc A cone-shaped or circular hit area Aim and position decide which enemies are inside
Sustain meter CLASSIC's fading record of a chain passing recently Goes up on passing ticks and down when that behavior stops
Chain / family A named check of one or more VM behaviors / its group Both the number and spread of active chains affect the bonus limit
CLASSIC chain ABYSS One named CLASSIC stack-behavior check It is not the separate ABYSS engine
Gate ABYSS's smaller machine and host checks A GATECALL can request inner work; it cannot directly add EXP
Request frame The 128-byte form the bot gives Gate Names an operation and where its input and output sit in bot memory
Bank A public Entry challenge number from HELLO The Entry bot picks one of 16 matching sets of body bytes
Session The host's saved place for one line of ABYSS work Keeps owner, track, and progress between Gate calls
Scheduler The host part that decides which inner work may run Checks the request's owner, object, and work allowance
Executor The part that actually runs approved inner instructions Changes Gate registers and stacks, then reports what happened
Fibre A host record for work kept between Gate calls Entry keeps a first-call report; threaded Gate keeps the next cell and work spent
Fuel The number of inner work steps still allowed A call, a game tick, and a fibre each have a limit
Capability / handle A bot-visible ID for an object the host controls Host checks its owner, version, kind, and rights before use
Slot A numbered place in the host's object table Slot 3 can hold an old Scratch page and later a new Dispatch page
Generation The version number of the object in a slot Slot 3 at version 1 is not slot 3 at version 257
Scratch / Dispatch A temporary writable page / a page meant to run code Chasm's stale queue write reaches a new Dispatch page
Root A 12-byte number tied to this ABYSS run Rift's 32 hidden work costs let the bot recover it
Class One of eight labels for a hidden SYNC cost Class 0 costs 72 steps; class 7 costs 240
Lineage The code's name for one of three ABYSS power tracks Sword proof does not become gem-collection proof
Entry / Rift / Chasm The first three ABYSS proof steps, in order Each can support a higher power limit after host checks
Module stage The last ABYSS proof step, called Apex in this guide Can support 16 only if the audit and other limits pass
Certificate A receipt the host makes when one check passes Different receipt kinds can raise the allowed power limit
Proof node The host's saved record joining receipts to earlier work A later proof step must point to the right earlier proof
Provenance The history showing where accepted proof came from A copied final answer lacks that earlier-work history
Counterfactual A second run with one input deliberately removed Shows whether the program really used that input
Authority The highest level saved proof can support for a Drive request A bot cannot grant itself level 16 by writing "16"
Drive / latch A requested power boost / its short active window The boost can expire while the proof stays saved
HEAT Extra danger that rises with power More power can also make survival harder
Supply The value of gems the game has created Some gems may expire or never get collected

The chapters follow the same path: source becomes instructions, instructions produce requests, and requests plus engine power affect the shared game world. The knight then collects gems, and the game adds EXP.

ABYSS can add power, but it does not write EXP directly.

Reading method

Code excerpts appear beside the behavior they explain. File and line captions identify each excerpt.

This guide uses CLASSIC engine and ABYSS engine, while the code calls them ClassicLegacy and DeviceV4. Prose, navigation, diagrams, and charts use the guide names. Code excerpts keep the original names.

The guide follows the upload, parser, outer VM, compiler, game engine, and ABYSS Gate. It connects example pilots and reference bots to those parts.

For large modules, this guide examines the code sections and calls that affect the behavior it explains.

Interactive calculations and diagrams explain individual rules. They do not simulate the full arena or predict a bot's final score.

Find the missing connection

If your question is… Read this part of the guide What it connects
Where does EXP come from? The scoring loop Death → drop → movement → collection → bank
How does a bot choose an action? Build the pilot Snapshot → target score → aim and movement
How does readable code become executable? The compiler Expression tree → instructions → frames
What persists while the world advances? VM state Memory, instruction pointer, stack, and execution budget
What is one CLASSIC chain worth? Meters and family coverage Passed check → meter → bonus factor → limited game effect
Why are there so many named chains? The 41-chain catalog Machine behavior → family → reward axis
What does ABYSS keep between requests? ABYSS state owners Session, resource identity, pending work, proof, and latch
Where can ABYSS contracts diverge? ABYSS surface map Guest bytes → admission → identity → execution → evidence → effect
What actually executes inner work? The Gate Cells → registers and stacks → continuation → outcome
Why does a successful calculation not grant unlimited power? The two power limits Different receipt kinds and proof step → allowed level
What does a permitted level do in combat? The reward curves Three levels → local engine fields → ordinary interactions
Why do the reference bots need a pilot? The reference bots Allowed power, movement, aim, and gem routes

Rebuild the outer loop in five steps

  1. In the architecture chapter, distinguish a copied observation from the live world.
  2. In the pilot chapter, follow one target through its distance and priority calculation.
  3. In the compiler chapter, lower an expression into pushes and arithmetic.
  4. In the VM chapter, step those instructions and inspect the resulting stack.
  5. In the world chapter, trace the action through combat and gem collection.

Attach ABYSS without losing that loop

  1. ABYSS copies a request and owns persistent state.
  2. ABYSS surface map traces each contract boundary and its failure model.
  3. The Gate runs only the work the host has allowed, within time and space limits.
  4. Proof saves accepted checks and limits the allowed power level.
  5. The economy converts permitted levels into gameplay fields.
  6. The reference bots combine those fields with the pilot you already understand.

Implementation corrections to keep in mind

Use this table to check common misunderstandings. If a row is not clear, use the chapter link above. That chapter gives an example and code.

Tempting interpretation What the current source supports
A code identifier describes every active mechanic Follow the active dispatch path to see which operations the engine uses
Returning from main ends the simulation tick The compiler trampoline calls main repeatedly until the VM budget stops execution
Recursive source functions are allowed The compiler rejects cycles in the call graph
Generated code and frame memory are hardware-isolated regions The VM has one flat guest array; layout is a compiler convention
The engine consumes no RNG during live ticks Live spawn and gem behavior uses the deterministic stream
More certificate-shaped records always mean more power Only different host-accepted kinds count, with valid bindings and earlier proof
A module-stage label alone grants level 16 The number of accepted certificate kinds can set a lower limit
Device magnet speed is added to the honest speed It is a selected device speed in the relevant path
bonus_dmg is necessarily an additive knight field Its consumer treats it as replacement-valued; ABYSS combines values before assignment