Skip to content

Melee Strategy ​

Origins

Melee strategy was developed and documented by the RoboWiki community, distilled from years of RoboRumble melee results into a single strategy guide.

In a 1v1 duel a bot always knows exactly one thing: who is shooting at it. Drop that same bot into a melee with nine enemies, and the question changes to which one is shooting at it, a question that gets harder or easier to answer as bots die and the field shrinks. Scoring Systems & Battle Types already covers why survival dominates that scoring. This page covers how the goal itself changes as the bot count drops.

Four battles in one ​

A ten-bot melee is not one battle, it is four, and each one rewards different behavior:

  • Around 10 bots: bots in poor starting positions die fast, so even basic targeting scores kills. The chaos is too thick for careful play to matter yet.
  • 6 to 7 bots: the fight settles into corners and crossfires. A hit rate below 25-30% starts to lose fights outright, and the goal sharpens: be targeting one bot while no bot targets back.
  • 3 to 4 bots: survivors camp corners and snipe across the arena. Watch who dies next. If it is the bot across from a bot instead of the one it was aiming at, that bot is probably next.
  • The final duel: once it is down to two, the format has quietly become 1v1. Targeting decides it now, a bot's gun against the other's movement, and Energy Management in 1v1 and Melee covers that fight directly.

Treating every phase like the first one is the most common melee mistake: a bot that still fights like it has nine buffers left, once only two remain, has already lost the fight it does not know it is in.

Guess who is aiming back ​

A bot cannot see every enemy's gun, but it can estimate who is likely aiming at it with a count instead of a guess. For each enemy still alive, count how many other bots are closer to that enemy than this bot is. If the count comes back 0 or 1, that enemy is probably choosing this bot as its target, since most targeting logic defaults to the closest available enemy.

A bot with 0 or 1 rivals closer to an enemy than itself is probably that enemy's target.
A bot with 0 or 1 rivals closer to an enemy than itself is probably that enemy's target.

Pick a target, not just the closest one ​

The closest enemy is the default target for good reason: it is the easiest to hit, and short range hides a lot of targeting mistakes. Two situations are worth breaking that default for. An enemy already firing at this bot is worth taking out even if it is not the nearest, since removing it stops the energy drain directly. An enemy at low energy is worth finishing over a healthier, closer one, since the kill bonus and the survival points both favor whoever lands that last hit.

Switching targets on every scan wastes more than it gains. The classic guideline is concrete: only switch when the new target is meaningfully closer, on the order of 100 units or 10% of the current distance, not on every tick a slightly closer bot wanders past.

Spend bullets like the phase demands ​

Early in a melee, close range makes even a weak, semi-linear shot land, so firing a strong bullet close in is rarely wasted the way it would be in a 1v1 opening. Late in a melee, mercy is not a strategy: a low-energy enemy left alive just gets to fire again next turn, so finish it. The one universal mistake worth guarding against at any phase is firing at an angle that clears the arena entirely. A shot into open wall space is a wasted turn of gun heat no matter which phase of the fight it happens in.

Further Reading ​

Based on RoboWiki content (CC BY-SA 3.0) for classic Robocode and the official Robocode Tank Royale documentation.