Glossary
Terms used in Bot Builder, the Pilot API, and battle replays. Wiki home · Getting started
Simulation and replays
Tick
One fixed step of simulated time. Each living scripted bot gets a turn to read the arena and queue commands. Use battleState()['tickDuration'] to convert between ticks and seconds. Pilot API and tick order
Snapshot
The observations the pilot receives for its current tick, after the engine has advanced recovery, cooldowns, and status effects. A queued action leaves those observations as they were. A build snapshot is a different use of the term, meaning the captured loadout and code used for a match or a registration. Architecture
Replay frame
A timestamped sample of match state, such as bot position, heading, mount angle, and resources. The recorder samples state at intervals and important changes. The browser can interpolate between frames, so advancing a displayed frame need not advance one simulation tick. Recording and playback
Decision trace
The private Builder Practice record of the authored pilot's observations, commands, results, and optional debug() samples. Use it to find the tick where a choice or error first changed the bot's behavior. Testing
Seed
The input to the match's deterministic randomness. Reuse the seed, exact builds, roster order, options, and simulation version to compare results. Change one input at a time, then test additional seeds. Testing
Sudden death
The phase after regular battle time ends. Remaining bots lose hull at scheduled intervals through shields and armor. Repair pauses and hull pickups expire. Builder Practice has its own deadline. Architecture
Aiming, firing, and movement
Effective range
The distance beyond which an aimed weapon gains extra angular spread. Close shots still have base spread, and shots beyond effective range can hit. mountState($slot)['effectiveRange'] includes the bot's targeting equipment. An enemy jammer can reduce the effective range for a particular aim point at launch. Equipment
Maximum range
The farthest legal ground aim point from the bot's center for a directional weapon. An aim point can be within this limit and still be difficult to hit. For a self-centered firing component, weaponRange() gives its effect radius. Pilot API
Aim point
A fixed pair of world coordinates, X and Z, given to a directional weapon. The turret follows those coordinates until its order finishes, is replaced, or is cancelled. Update the point as your target moves. Combat strategy
Command queue
Actions requested by the pilot for this tick. A command returning true confirms acceptance into the queue. Check actionResults() on the next tick for the outcome. Movement commands normally need to be queued again each tick. Pilot API
Aim order
An aim() request aligns a turret toward a ground point without shooting. It can work during cooldown. Use it to track, or replace an older pending fire request with a new aim-only order. Pilot API
Fire order
A fire() request asks a mount to shoot. A turret can stay pending while turning toward the requested point. A ready fixed missile launcher can fire on the same tick. Self-centered effects use the slot alone. Pilot API
Launch
The instant a shot actually fires. Resources are spent and the cooldown begins. A fired action result or shotLaunched event confirms a launch. Combat strategy
Hit
A shot's contact or effect on an eligible bot. In the pilot's shotResolved feedback, hit means a visible impact was reported. Damage to hull, damage to shield charge, stun, and knockback are separate results. Testing
Lead and intercept
An aim point ahead of a moving contact's current position. estimateIntercept() uses observed velocity and nominal aiming and travel time to estimate that point. Use fresh observations when the target changes direction. Combat strategy
Heading and bearing
Heading is the direction the chassis faces in world coordinates. A scan contact's bearing is the angle to that contact relative to your current heading. Both use radians. Pilot API
Chassis collision
Physical contact between living bots that blocks further movement into the other body. Allies and enemies can block a route. If actionResults()['move'] reports blockedByBot, choose a route around the obstruction. Combat strategy
Equipment and resources
Chassis and loadout
The chassis is the bot's frame, selected within a weight class. The loadout is the ordered set of components fitted to its mounts. The chassis affects resources and movement, and the weight class determines mount count. Equipment
Mount slot
The location for a component. Slot 0 in PHP is the first mount in Builder. It must contain a weapon that deals damage. A pilot can inspect an installed component and its current state with mountState($slot). Equipment
Cooldown and readiness
Cooldown is a mount's recovery time after firing. Readiness also depends on status and current resources. A turret can be ready and still need time to align. Pilot API
Hull
The bot's remaining structural health. A bot is destroyed when its hull reaches zero. Hull normally recovers only through repair or pickups. Equipment
Shield charge
A reserve supplied by a fitted Shield Generator. Existing charge absorbs part of incoming weapon damage even when the recharge toggle is off. Recharge spends energy to restore missing charge. Equipment
Armor
The reduction applied to damage that reaches hull after available shield charge absorbs its share. Sudden-death attrition bypasses both defenses. Equipment
Energy
A resource that regenerates over time and pays for energy weapons, activations, and equipment upkeep. Damage described as energy damage is a damage type, separate from a bot's energy reserve. Equipment
Ammo
A resource spent by ammunition weapons and hull repair. There is no natural reload of the ammo reserve. A cooled-down weapon still needs enough ammo to fire. Equipment
Toggle and passive equipment
Toggle equipment accepts toggle($slot, $on) and may spend resources while enabled. An enabled component can be temporarily suppressed. A passive part applies its effect from its fitted mount without a pilot command. Equipment
Pickup
A temporary arena item that restores one resource to the living bot that collects it. Collection requires proximity. Compare the remaining lifetime with time to reach it, and leave space for a teammate who needs it more. Combat strategy
EMP and stun
EMP is a control effect that can stun a bot. While stunned, the bot loses movement, aim, firing, and active equipment and stops progressing weapon cooldowns. Its natural energy regeneration and existing shield charge still work. Equipment
Cloak
A toggled effect that removes the bot from enemy scans while active. Teammates can still see it. Shots aimed at coordinates and area effects can still hit it. Equipment
Building, saving, and battle modes
Unsaved edits
Changes to the loadout or PHP currently in Bot Builder. Compile and Builder Test Run use the current editor values. Save to keep a changed build as a checkpoint. Testing
Checkpoint
A saved build snapshot in a human bot's version history. The checkpoint includes the chassis, mount order, and PHP. Restore activates an existing leaf, Duplicate creates a sibling copy of a checkpoint that has descendants, and Roll back deletes descendants after confirmation. Testing
Current build
The saved version active for the owner. On a checkpointed bot it is the active checkpoint. The current and published builds can point to different versions. Testing
Published build
The version available to other players for public battles. You can save or restore a different current build while leaving the published version in place. Public battles expose the published loadout. Sharing its PHP requires a separate opt-in. Testing
Builder Practice
A short private test of the current build in the editor, also called Test Run. Use the resulting decision trace to inspect the authored pilot. Testing
Practice battles
Configurable matches using saved bots and training presets. Choose teams, seats, a seed, and arena rules in Arena → Practice battles. The recording is saved in the initiating player's Hangar. Architecture
Leaderboard battle
A ranked match between one published bot you own and eligible published opponents selected by the server. Its placements contribute to leaderboard points. Architecture
Tournament registration
An entry that preserves a snapshot of the registered build. The tournament uses that entry when it runs its bracket fights. Later changes to the saved bot leave the entry's snapshot intact. Architecture
Training bot
A built-in opponent or teammate whose loadout and PHP can be inspected. Use one as a repeatable benchmark for a tactic. Testing
PHP and the Pilot API
Pilot and Pilot API
The pilot is the bot's PHP program. The engine injects $pilot, which exposes the allowed observations, commands, forecasts, and team features. Pilot API · PHP reference
Scan contact
An ally or enemy reported by scan(), with its match-local ID, coordinates, distance, bearing, and observed velocity when available. Destroyed bots and cloaked enemies drop out of the scan. Pilot API
Forecast
An estimate made from the current observation, such as drive time, shot alignment, or a possible allied hit. The result depends on the method's assumptions. Targets and firing lanes can change before the action resolves. Pilot API
Compile
Check that the source parses and obeys the restricted PHP syntax and method allowlist. A successful compile leaves gameplay decisions and runtime behavior to practice. PHP syntax
Runtime error
An error that occurs while a compiled pilot executes. An unexpected null or exhausted work allowance can stop a practice run even though the same source compiled. Inspect the trace at the failing tick. Troubleshooting
Work budget
The interpreter's limit on how much work a pilot can perform. It limits each tick and also bounds script work across a match. Use bounded loops and inspect workRemaining() in demanding logic. PHP syntax
Helper function
A named function defined at the top level of a pilot script. Use it to factor a repeated decision into a small routine. Its parameters and return value need declared types. PHP syntax
Array and null
Arrays hold ordered items or keyed fields, such as a list of contacts or a contact's coordinates. null can mark an absent observation or unavailable forecast. Check an optional value before reading its fields or doing arithmetic. PHP syntax
Match memory
Small private values retained across this bot's ticks via remember() and recall(). Ordinary variables are local to the current tick or helper call. Pilot API
Teams and coordination
Team, seat, and participant ID
A team groups allies. A seat is a stable roster position on that team, and a participant ID identifies one bot in that match. Use IDs to connect scan contacts with teamState() entries. IDs and seats are match-local. Team strategy
Friendly fire
The battle rule that lets weapon and control effects affect allies. When enabled, missile splash can also affect its own launcher. Living bots can block movement under either setting. Team strategy
Signal and team message
A signal is a simple coordinate ping, such as help. A team message carries a structured payload under a topic and can be sent to one living teammate or broadcast. Delivery is on the next tick. Team strategy
Shared team data and TTL
Shared team data is a small keyed value published by a participant for teammates to read. TTL, or time to live, is the lifetime in ticks for shared data, messages, and objective claims. Check freshness before relying on a previous intent. Team strategy
Objective claim
An advisory team assignment for a visible pickup, registered by its ID. The claim tells allies who plans to collect it. Normal arena proximity rules still decide who collects it. Team strategy