Kitten

From Robowiki
Revision as of 20:28, 22 June 2009 by Spinnercat (talk | contribs)
Jump to navigation Jump to search
Kitten
Author(s) spinnercat
Extends AdvancedRobot
Targeting Symbolic Pattern Matching
Movement Random Movement
Released June 17, 2009
Best Rating 18th in Nano
Current Version 1.4
Code License RWPCL
Download

Info

Bot Name
Kitten
Author
Spinnercat
Extends
AdvancedRobot
What's special about it?
It's our first nanobot!
I like to think our system of switching direction 80% of the time is a slightly unique way of picking a direction, keeping it slightly random, but also allowing it to move away from the walls most of the time, but it's likely been done before.
Great, I want to try it. Where can I download it?
Version 1.3: http://www.robocoderepository.com/BotFiles/3674/spinnercat.Kitten_1.3.jar
Version 1.4: http://www.robocoderepository.com/BotFiles/3680/spinnercat.Kitten_1.4.jar
How competitive is it?
Pretty good, version 1.4 is 18th in nano rumble.


Strategy

How does it move?
Basically random. Moves when it fires. When it moves, it turns mostly perpendicular to its enemy, and moves either forwards or backwards. 80% of the time it will move the same direction as before, and 20% of the time it will switch. It is supposed to be as random as possible and still be a decent dodging strategy.
How does it fire?
Uses SymbolicPatternMatching like most nanos, credits to Assertive by Robar
How does it dodge bullets?
Every time it fires, it moves a random distance.
How does the melee strategy differ from One-on-one strategy?
It actually has a strategy in 1v1!

Additional Info

Where did you get the name?
I was thinking of "little cat" which naturally becomes kitten!
What's next for your robot?
Some bullet power management would probably be useful.
Can I use your code?
Of course, RWPCL. Just don't use the whole thing and claim it as your own.
And if you find an innovative way of reducing the code, I would love to hear!