Difference between revisions of "MagicD2"

From Robowiki
Jump to navigation Jump to search
m
(MagicD2 2.3)
Line 16: Line 16:
 
'''What's special about it?'''
 
'''What's special about it?'''
  
It's my first robot, and it will one day be.... well... better.
+
It's a nano without patternmatching, it has an interesting ideas for movement and targeting.
  
 
'''Great, I want to try it. Where can I download it?'''
 
'''Great, I want to try it. Where can I download it?'''
  
You wouldn't want to yet.
+
robocoderepository.com
  
 
'''How competitive is it?'''
 
'''How competitive is it?'''
  
Not sure yet. It gets slightly less than 50% on Assertive 3.0, and a little bit less on the other bots I'm testing it on.
+
Not very. It's around the middle of the nanobots in ranking.
 
 
  
 
== Strategy ==
 
== Strategy ==
 
'''How does it move?'''
 
'''How does it move?'''
  
It kind of strafes around the enemy and changes directions when they fire.
+
It chooses a random distance, and then changes that distance when it gets hit. It works pretty well because it changes the movement whenever the enemy learns about it, and if it finds something that works it can stick with it for a while. I spent a fair amount of time working on this movement and I tried adding stuff like velocity, direction, and turn changes but I found that all of those things made it worse.  
  
 
'''How does it fire?'''
 
'''How does it fire?'''
  
Simple, Head-on targeting.
+
It uses what I call assumed velocity targeting, although it's not really worthy of a name. In this robot's case that means that it plugs in speeds into a linear targeter until it finds one that works. If it dies, it changes the assumed speed.
  
 
'''How does it dodge bullets?'''
 
'''How does it dodge bullets?'''
  
It changes directions when they fire.
+
See "How does it move?"
  
 
'''How does the melee strategy differ from one-on-one strategy? '''
 
'''How does the melee strategy differ from one-on-one strategy? '''
  
It's only a one-on-one bot.
+
It's just a one-on-one bot
  
 
'''How does it select a target to attack/avoid in melee? '''
 
'''How does it select a target to attack/avoid in melee? '''
Line 50: Line 49:
 
'''What does it save between rounds and matches? '''
 
'''What does it save between rounds and matches? '''
  
Nothing.
+
It's current gun(if it won) and movement.
  
 
== Additional Information ==
 
== Additional Information ==
 
'''Where did you get the name?'''
 
'''Where did you get the name?'''
  
It started out as just MagicD.  My second copy of it was the first one that remotely worked, and it had a nice ring to it, so I kept the two in later versions as part of the name.  I SWEAR this was not based on R2-D2.
+
It was the first robot I ever made, although it is now a completely different robot just with the same name.
  
 
'''Can I use your code? '''
 
'''Can I use your code? '''
  
You wouldn't want to. Its just a mix-and-match of very basic ideas right now.
+
Knock yourself out. But don't expect anything special.
  
 
'''What's next for your robot? '''
 
'''What's next for your robot? '''
  
As I am still working my way up the logic chain, the next step is to figure out how to make linear targeting. I'm being very stubborn about not using code from the tutorials if I have no clue how it works.
+
Testing. Then probably more testing.
  
 
'''Does it have any White Whales? '''   
 
'''Does it have any White Whales? '''   
  
Probably all of them. It still has trouble with Walls, though i expect it to win easily after I figure out linear targeting.
+
WeekendObsession. It was one of my testbots for it, and MagicD2 can usually beat it.
  
 
'''What other robot(s) is it based on? '''
 
'''What other robot(s) is it based on? '''
  
It's all my own code, although i used code structures from other robots to get my ideas to work. (I have no previous experience with programming of any kind, so that might fall more under the learning Java category).
+
Well, actually what started me thinking about it was the way many nanos start out their movements, using stop'n'go then switching to random movement if it dies too much.
 +
 
 +
 
 +
== Version History ==
 +
 
  
'''Note:'''
+
1.0
 +
* *Shudder*
  
It seems to me that the main reason this robot can actually do well (by my standards) against some of the decent ones is because of it's utter simplicity. There's a famous quote- "the world's best fencer has nothing to fear from the world's second-best fencer... It's a rank beginner that gives him trouble." Hopefully this won't be the case for very long.
+
2.0
 +
* Current version
  
[[Category:NanoBots]]
+
2.3
[[Category:Bots]]
+
* Fixed a bug involving enemies sitting still
[[Category:1-vs-1 Bots]]
 

Revision as of 21:56, 13 April 2009

Background Information

Bot Name

MagicD2

Author

User:CrazyBassoonist

Extends

AdvancedRobot

What's special about it?

It's a nano without patternmatching, it has an interesting ideas for movement and targeting.

Great, I want to try it. Where can I download it?

robocoderepository.com

How competitive is it?

Not very. It's around the middle of the nanobots in ranking.

Strategy

How does it move?

It chooses a random distance, and then changes that distance when it gets hit. It works pretty well because it changes the movement whenever the enemy learns about it, and if it finds something that works it can stick with it for a while. I spent a fair amount of time working on this movement and I tried adding stuff like velocity, direction, and turn changes but I found that all of those things made it worse.

How does it fire?

It uses what I call assumed velocity targeting, although it's not really worthy of a name. In this robot's case that means that it plugs in speeds into a linear targeter until it finds one that works. If it dies, it changes the assumed speed.

How does it dodge bullets?

See "How does it move?"

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

It's just a one-on-one bot

How does it select a target to attack/avoid in melee?

It doesn't.

What does it save between rounds and matches?

It's current gun(if it won) and movement.

Additional Information

Where did you get the name?

It was the first robot I ever made, although it is now a completely different robot just with the same name.

Can I use your code?

Knock yourself out. But don't expect anything special.

What's next for your robot?

Testing. Then probably more testing.

Does it have any White Whales?

WeekendObsession. It was one of my testbots for it, and MagicD2 can usually beat it.

What other robot(s) is it based on?

Well, actually what started me thinking about it was the way many nanos start out their movements, using stop'n'go then switching to random movement if it dies too much.


Version History

1.0

  • *Shudder*

2.0

  • Current version

2.3

  • Fixed a bug involving enemies sitting still