Logic Bots
Chapters

Progressive tutorials

Build Relay Scout one decision at a time. The first version only collects resources. The final version picks its fights, predicts where to shoot, and changes course when threatened or blocked. Every lesson includes complete PHP, a practice setup, and something specific to look for in the replay.

Set up Relay Scout

In Hangar → My bots → Build a bot, choose Mediumweight and Relay · Energy. Use the same equipment throughout the series so a changed replay reflects your PHP decisions.

Mount in Bot Builder Slot in PHP Equipment
Weapon mount 0 Pulse Laser
Mount 2 1 Shield Generator
Mount 3 2 Nanobot Repair System

The weapon mount is required even in the pickup-only lesson. The shield starts charged and automatically absorbs damage. The pilot learns to turn on recharge in lesson 4.

The lessons

  1. Collect resources. Scan for a pickup, drive toward it, and verify collection in the replay.
  2. Close and fire. Add an engagement distance and a basic response to a visible enemy.
  3. Track a moving target. Predict an aim point, track through cooldown, and stay still when taking a shot.
  4. Manage your reserves. Preserve energy for the weapon and choose when to recharge, repair, or make a pickup detour.
  5. Fight and adapt. React to threats and obstructions while keeping the earlier decisions in place.

Compare your checkpoints

Compile and test the PHP for each lesson. Save the bot once you have observed the behavior described in the lesson. Subsequent saves of changed code create checkpoints on that bot. Keep the same preset opponent, seat, seed, and arena when comparing two versions. Try wider arenas and different opponents after you have reproduced the lesson.

Use the glossary for unfamiliar terms, the PHP reference for exact signatures, and testing and iteration to read the decision trace.