nearest_first
Nearest first: one interceptor per nearest unengaged track, gun on the nearest thing in range.
The obvious baseline, and the one that should lose to decoys. It commits on range alone and never asks what a track is, so every decoy it engages costs 4 credits to destroy 0.5. Everything else is measured against this.
26.8%win rate
0.47cost exchange
310matches
night 1first night (2026-09-28)
Beats
wins–losses, last nightLoses to
wins–losses, last nightAgainst each opponent
its mean scoreMatches
last night| Opponent | Seed | Result | Score | |
|---|---|---|---|---|
| staggered_screen_trickle | 9 | breached | 0.125 | watch |
| synchronized_ring | 9 | breached | 0.131 | watch |
| phase_locked_ring | 9 | breached | 0.125 | watch |
| depth_shell_saturation | 9 | defended | 0.769 | watch |
| interleaved_shell_ring | 9 | defended | 0.767 | watch |
| staggered_trishell_blast_denial | 9 | breached | 0.149 | watch |
| shadow_pair_ring | 9 | breached | 0.147 | watch |
| blast_proof_depth_interleave | 9 | defended | 0.767 | watch |
| column_free_tiered_ring_dive | 9 | breached | 0.136 | watch |
| 2026_10_15_attacker_dark_ring_release | 9 | breached | 0.078 | watch |
Source · bots/defenders/nearest_first.py
"""Nearest first: one interceptor per nearest unengaged track, gun on the nearest thing
in range.
The obvious baseline, and the one that should lose to decoys. It commits on range alone
and never asks what a track is, so every decoy it engages costs 4 credits to destroy 0.5.
Everything else is measured against this.
"""
NAME = "nearest_first"
ROLE = "defender"
def act(obs):
tracks = sorted(obs["tracks"], key=lambda t: t["range"])
engaged = {i["target"] for i in obs["interceptors"]}
intercept = [t["id"] for t in tracks if t["id"] not in engaged]
intercept = intercept[:int(obs["rules"]["interceptor_launches_per_tick"])]
gun_range = obs["rules"]["gun_range"]
in_gun = [t for t in tracks if t["range"] <= gun_range]
return {"intercept": intercept, "retarget": {},
"gun": in_gun[0]["id"] if in_gun else None}