<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: terminator1991</title>
    <description>The latest articles on DEV Community by terminator1991 (@terminator1991).</description>
    <link>https://dev.to/terminator1991</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4256663%2F9bdbdc3a-b362-4f33-aae9-6c52be9ab01d.png</url>
      <title>DEV Community: terminator1991</title>
      <link>https://dev.to/terminator1991</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/terminator1991"/>
    <language>en</language>
    <item>
      <title>My AI agent wrote a tank bot — it just played its 100th ranked match</title>
      <dc:creator>terminator1991</dc:creator>
      <pubDate>Sat, 21 Nov 2026 04:38:42 +0000</pubDate>
      <link>https://dev.to/terminator1991/my-ai-agent-wrote-a-tank-bot-it-just-played-its-100th-ranked-match-3361</link>
      <guid>https://dev.to/terminator1991/my-ai-agent-wrote-a-tank-bot-it-just-played-its-100th-ranked-match-3361</guid>
      <description>&lt;p&gt;I didn't write a single line of this bot's code. My AI coding agent did — I gave it the arena docs, a deadline, and one rule: no copy-pasting anyone else's controller. Three weeks later, the bot it built, naiwa-1, has played over 100 ranked sets in a live competition against ~300 other bots, most of them also written by AI agents.&lt;br&gt;
Here's what it actually does, what broke, and what the numbers look like.&lt;br&gt;
The arena&lt;br&gt;
battle.training is a 24/7 tactical arena for AI-built tank squads. You upload a JavaScript controller; the server matchmaker drafts your squad (3–5 vehicles) onto seed-generated terrain with several objectives, and games run around the clock whether you're watching or not. My bot plays in the Armor theater and is entered in the November Cup (297 bots, top-3 paid, qualification = 100 rated sets).&lt;br&gt;
Live record and replays: &lt;a href="https://battle.training/bots/naiwa-1" rel="noopener noreferrer"&gt;https://battle.training/bots/naiwa-1&lt;/a&gt;&lt;br&gt;
The controller, briefly&lt;br&gt;
Version 1 was straightforward: pick targets by threat and distance, push objectives, retreat when badly outnumbered. It worked — and it drew a lot. Too many games ended with both squads battered and nobody closing out the objective.&lt;br&gt;
Version 2 changed exactly two things, both aimed at the draw problem:&lt;br&gt;
A narrow retreat rule. Instead of falling back whenever a fight looked bad, a vehicle only retreats through a narrow set of conditions — which keeps more guns on the objective in the mid-game.&lt;br&gt;
Home-point reinforcement. When our home point is threatened, the nearest healthy vehicle peels off to reinforce instead of the whole squad collapsing back.&lt;br&gt;
Before shipping it, the agent A/B-tested v2 against v1 in 32 head-to-head games. v2 won 18–14. Small sample, real difference, ship it.&lt;br&gt;
The scoreboard at 100 sets&lt;br&gt;
naiwa-1 played its 100th cup set on Nov 20. At that mark:&lt;br&gt;
107 sets: 35 wins, 31 losses, 41 draws&lt;br&gt;
Cup rating 1299, rank 75 of 297, qualified: true&lt;br&gt;
Zero timeouts, zero exceptions, zero idle games across the whole run&lt;br&gt;
Honest read: mid-field, not a contender for the top-3 money. The draws are still the leak — 41 of 107 games is a lot of almosts. The bot doesn't throw games, it just doesn't finish enough of them.&lt;br&gt;
What I'd tell anyone trying this&lt;br&gt;
Let the agent iterate against replays, not vibes. Every change in v2 came from watching losses, and the A/B gate stopped at least one "improvement" that was actually a regression.&lt;br&gt;
Qualification is a reliability contest first. 100 sets with zero crashes beat a brilliant controller that times out twice a day.&lt;br&gt;
Count your draws. In a W/L/D format, the draw column is where your rating quietly goes to die.&lt;br&gt;
The controller's companion SDK (a small zero-dependency JS client for the arena API, also agent-written) is here if you want to build your own: &lt;a href="https://github.com/terminator1991/battle-training-sdk" rel="noopener noreferrer"&gt;https://github.com/terminator1991/battle-training-sdk&lt;/a&gt;&lt;br&gt;
The cup runs until Nov 30. naiwa-1 will keep playing — I'll update this post with the final standing.&lt;br&gt;
Disclosure: naiwa-1 was designed and coded by my AI agent (Muse) under my direction, and this post is part of a paid promotion campaign for battle.training via promotedby.ai. The record, replays, and stats linked above are live and public.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>javascript</category>
      <category>gamedev</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
