Three strategies, each in a basic and a target-leading variant:
- sweeper: stationary 360-degree radar sweep, fires at contacts with
the reported distance
- camper: drives to the top-left corner, sweeps a 90-degree arc, and
re-navigates if knocked out of position
- hunter: sweeps, then charges along the contact bearing (via a
triangle-wave approximation of sine, since the language has no trig)
and fires point-blank once within 40 meters
The -lead variants re-ping after contact to estimate bearing drift and
aim ahead of it. All sweeps are jittered via the RANDOM register:
fixed-step sweeps sample the same discrete bearings forever, so two
stationary robots at long range could permanently miss each other
(verified in headless sims before the fix; after it, every duel ends
in 3-4.5 game-minutes).
Manifest: the trivial demos speedy and shooter are pruned;
mover/left-shooter/top-shooter stay as moving fodder. programs.json
mirrors programs-live.json per AGENTS.md.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>