Bot Name
Opposite
Author
Starrynte
Extends
What do you think?
What's special about it?
Perpendicularish Movement in a minimum-risk like format. And it's a nano (248)
Great, I want to try it. Where can I download it?
http://www.robocoderepository.com/BotDetail.jsp?id=3363
How competitive is it?
We'll see once theres stable rankings
How does it move?
See above
How does it fire?
HeadOnTargeting. (look it's a nano...)
Well, by moving back and forth randomly while staying perpendicular, I hope it dodges bullets semi-decently. (Btw it doesn't since it gets 'stuck' in corners...)
How does the melee strategy differ from one-on-one strategy?
It's melee. Don't use it in 1v1.
How does it select a target to attack/avoid in melee?
If the enemyscanneddistance*0.8 < targetdistance
What does it save between rounds and matches?
Nothing.
Where did you get the name?
The movement...
Can I use your code?
No, but I am willing to release code snippets from it
What's next for your robot?
- 1) Adding 'perpendicularity' (not the way it's used in MR) to the walls. At the moment all it does is bounce off them.
- 2) Better radar than setTurnRadarRight(Double.POSITIVE_INFINITY);
- 3) Better gun than HOT...
And always, always shrinking the code!
Depends. Possibly
MeleeSeed
What other robot(s) is it based on?
tobe's idea of
PerpendicularMovement
Comments, questions, feedback:
You may want to make that "how does it choose a target"
if (enemyscanned < targetdistance * 1.2)
. --
Simonton
- Oops typo, i meant if(enemyscanneddistance*0.8<targetdistance). Thnx for pointing that out. --Starrynte
- If enemyscanneddistance is the distance to the bot you just scanned and targetdistance is the distance to current target, I think your original code was right. But maybe your variable naming conventions are different than mine would be... I'd generally want something like, "only switch targets if the new target is 20% closer", not "switch as long as new target is no more than 20% further away." -- Voidious
- In my code i have enemyscanneddistance*0.8<targetdistance. Simonton's post just alerted me to the typo. --Starrynte
- You are not a nano writer, my friend. It costs a lot to know whether the current scan is the same bot you targeted before OR 20% closer. -- Simonton
- Ah right, you silly NanoBot guys! So the idea here is just to avoid targeting bots that are super far away, more than trying to actually pick the single best target? -- Voidious
- You got it. This will degrade your performance when the 2 (or 3 or 4) closest bots are all within 20% of the same distance from you, but that may well be a price worth paying. -- Simonton
- So you mean I don't have to check whether the enemybot is the current target if i use your code...? --Starrynte
- As far as I'm concerned you never have to, as long as you're competing against my bots :P. --Simonton
I'm looking for a way to code in some WallAvoidance with 40 bytes...I'm using the 'bounce off' way right now but it seems to trap itself in corners...Oh, btw, the current WallAvoidance / RobotAvoidance simply checks if getDistanceRemaining?()==0 and if it does reverse direction...which is why it traps itself in corners... --Starrynte
- Hmm ... that's a little tough. One thing is to put in some distancing code that prefers a semi-close range, therefore drawing you out of the corners. But then, you have to want to fight close for that to work ... --Simonton