From Robowiki
Jump to navigation Jump to search
Author(s) Wompi
Extends AdvancedRobot
Targeting Circular Targeting
Movement Minimum Risk
Released September 2012
Current Version 5.1
Code License RWPCL

Sub-Pages: Version History | Challenges

Background Information

What's special about it?

Version 5.1 made a jump from 'not so special' to 'very nice'. Wallaby now has one of the best movements within the micro/melee weight class and can even hold himself in the general class very well. The bot was originally designed as a close combat bot, but over time it changed to middle distance. I think the synergy of its movement, gun, and radar makes it work.

How competitive is it?
MicroMeleeRumble ‒ APS: 69.02% (1st), PL: 134-0 (1st), Survival: 94.18%
MiniMeleeRumble ‒ APS: 68.4% (1st), PL: 172-1 (2nd), Survival: 92.95%
MeleeRumble ‒ APS: 65.29% (13th), PL: 330-16 (15th), Survival: 86.61%


How does it move?

The movement is a combination of Minimum Risk, Antigrav and Oscillation. All three movements are combined together, but the weighting changes as the battle progresses. At the start of the battle the antigrav is a major factor to stay out of the initial heat. After the herd is thinned the oscillation kicks in and wallaby goes oscillating to mid combat distance. The movement has a fixed travel width of 185 pixels once the minimum risk angle is found, but can under certain circumstances, like near or ram bots, switch to 'free' movement. Which leads to very nice avoid moves in crowded battle situations.
Wallaby Movement

How does it fire?

The gun is a precise circular gun designed for close to mid combat distance, with wall handling and wall backtracking. All scanned velocities of the target are averaged and used to feed the circular gun. The radar locks dependent on gun heat and while the target is locked the gun collects all heading difference of the target. If the fire angle has to be calculated, the circular gun projects the guessed target position with the overall average velocity and the average of the last heading differences.
Wallaby Targeting

How does the melee strategy differ from One-on-one strategy?

just melee

How does it select a target to attack in melee?


What does it save between rounds and matches?

matches - nothing
rounds - nothing, static variables for code size

Additional Information

Can I use your code?

Sure, it's open source.

What's next for your robot?
  • v5.1 should be the last version of this bot. Maybe if I find something that looks really promising I will touch him again, but for now he is finished.

Does it have any White Whales?
  • Right now Wallaby doesn't have any white whales. He is 1st place in both micro and mini, and has quite a high ranking in general.
    • Capulet, a bot of CrazyBassoonist, was for a long time one of the top white whales in micro.
    • GlowBlowMelee, a bot of rozu, was one of the toughest bots to beat (and it's still very close) in mini.
    • SandboxDT, a bot of Paul Evans, one of the most impressive moments was when Wallaby beat this former melee general champion.

What other robot(s) is it based on?

It combines the basic concepts from robowiki and is not based on a particular bot.


Credit for inspiration goes to CrazyBassoonist. I learned a lot just by watching his bots.
Credit for code size goes to many nano bot authors. Mainly the top ranking melee nano bots.
And of course Credit to all robowiki contributors for making it easy to learn robocode from scratch.
Credit to Voidious for making his RoboRunner and providing a very nice melee test environment.