How does it move?
The movement was originally used in FallingLeaf
? and FallingLeafRobot
? for a comparison between making a
Robot and making an
AdvancedRobot. I did it both for my own enjoyment and as some kind of source-code introduction to newbie robocoders.
The idea behind the movement was to simulate the fluttering of a leaf falling from a tree (but in a robotic way)
The move worked surprisingly well and FallingLeaf? holds well in the MicroBot competition despite being a really stupid bot.
It works this way:
- turn so that you are moving towards the opponent at an angle of 70 degrees (if straight towards it is 0 degrees)
- move a random amount between 0 and the length of the field.
- when previous move is complete, reverse direction and repeat this sequence
How does it fire?
LaserTargeting
It has two modes: dodge or no dodge
In dodge mode it reverses direction every time the opponent fires
The mode is selected at random either every time it is hit by a bullet or every time it dies (I don't remember which)
How does the melee strategy differ from one-on-one strategy?
No difference
How does it select a target to attack/avoid in melee ?
What does it save between rounds and matches?
Saves "evasions" (
LaserTargeting) for each opponent between rounds
Where did you get the name?
From something beatiful that flutters to the ground. Also I had the impression that cherry blossoms were connected in some way to Kamikaze pilots, but I was probably misinformed.
Can I use your code?
Sure. Please observe the usual courtesies.
What's next for your robot?
What other robot(s) is it based on?
FallingLeaf
? for movement,
Neptune for firing.
--tobe