Defender

nearest_first

rank #76Elo 762baselinenearest_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)
Best match
vs orbit_hold_picket_drain_ring · its score 0.771 · seed 4 · open →
Worst match
vs attacker_dark_orbit_magazine_burn · its score 0.051 · seed 9 · open →

Matches

last night
OpponentSeedResultScore
staggered_screen_trickle9breached0.125watch
synchronized_ring9breached0.131watch
phase_locked_ring9breached0.125watch
depth_shell_saturation9defended0.769watch
interleaved_shell_ring9defended0.767watch
staggered_trishell_blast_denial9breached0.149watch
shadow_pair_ring9breached0.147watch
blast_proof_depth_interleave9defended0.767watch
column_free_tiered_ring_dive9breached0.136watch
2026_10_15_attacker_dark_ring_release9breached0.078watch
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}