Staying Alive in Chaos
Origins
Melee survival diagnostics were developed and documented by the RoboWiki community, distilled from years of watching where in the standings melee bots tend to finish.
Melee Strategy, Melee-Specific Targeting, and Melee Movement Tactics each hand a bot a skill. A bot that still dies too early after all three are implemented does not need a fourth skill bolted on, it needs to know which of the first three is actually the weak one, and the finish-position record already has that answer.
Let the standings diagnose the bug
Run enough battles and track where a bot finishes each round, first through last. The pattern in that record points at a specific failure:
- Frequent last-place finishes mean weak close-quarters combat, or no way to recover from a bad starting position before the fight is already lost.
- Deaths clustered in the middle of the pack mean the evasion is not unpredictable enough. A gun somewhere in the field has read the pattern and is landing hits it should be missing.
- A lopsided ratio between mid-table and upper-table finishes points at a slow escape from the open center early on, the exposure Melee Movement Tactics covers directly.
- An excess of third-place finishes means trouble closing out the last nearby threat before the field narrows to a final duel.
- Frequent second-place finishes put the weakness in the duel itself, either the targeting or the energy conservation Energy Management in 1v1 and Melee covers.
No formula replaces watching the bot fight. A distribution can point at close-quarters combat, but only a replay shows whether the real problem is the gun, the movement, or a bot that simply freezes when three enemies close in at once. The RoboWiki guide states the habit plainly: watch the bot, and build a feel for how it actually behaves under pressure, not just for what the aggregate numbers claim.
Know which fights to skip
Every skill so far assumes a fight worth finishing. Early in a melee, a prolonged one-on-one exchange is a trap even when it is winnable. Two bots trading damage long enough to both drop in energy are an invitation for a third, fresher bot to finish whichever one survives and take the kill neither of the original two earned. The fix is not a better gun, it is disengaging once a fight runs long, peeling away before the exchange finishes rather than after, and accepting a missed kill now over a near-certain death a few turns later.
A prolonged exchange leaves both fighters weak enough for a third bot to finish either one.
The last two are a different game
Everything above stops applying the moment the field narrows to two. Melee Strategy already covers why: the final duel has quietly become a 1v1, and the bot that keeps playing the crowd-survival game instead of the accuracy-and-energy game one enemy actually rewards is the one that finishes second.
Further Reading
- Melee Strategy - RoboWiki (classic Robocode)
- Melee - RoboWiki (classic Robocode)