Difference between revisions of "Kitten"

From Robowiki
Jump to navigation Jump to search
m (minor cleanup; fix category Robovirus -> Kitten)
Line 7: Line 7:
 
| movement        = [[Random Movement]]
 
| movement        = [[Random Movement]]
 
| released        = June 17, 2009
 
| released        = June 17, 2009
| best_rating    = 24th in Nano
+
| best_rating    = 18th in Nano
| current_version = 1.3
+
| current_version = 1.4
 
| license        = [[RWPCL]]
 
| license        = [[RWPCL]]
| download_link  = http://www.robocoderepository.com/BotFiles/3674/spinnercat.Kitten_1.3.jar
+
| download_link  = http://www.robocoderepository.com/BotFiles/3680/spinnercat.Kitten_1.4.jar
 
| isOneOnOne      = true
 
| isOneOnOne      = true
 
| isOpenSource    = true
 
| isOpenSource    = true
Line 26: Line 26:
  
 
; What's special about it?
 
; What's special about it?
: Our first Nanobot.
+
: 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?
 
; How competitive is it?
: A bit, version 1.2 is currently 24th in Nano Rumble.
+
: Pretty good, version 1.4 is 18th in nano rumble.
  
  
 
==Strategy==
 
==Strategy==
 
; How does it [[Movement|move]]?
 
; How does it [[Movement|move]]?
: Basically random. Monitors opponent's energy, and moves when it drops. When it moves, it turns mostly perpendicular to its enemy, and moves (randomly) either forwards or backwards at a random speed. It is supposed to be as random as possible and still be a decent dodging strategy.
+
: 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 [[Targeting|fire]]?
 
; How does it [[Targeting|fire]]?
Line 40: Line 45:
  
 
; How does it [[Dodging Bullets|dodge bullets]]?
 
; How does it [[Dodging Bullets|dodge bullets]]?
: Every time the opponent fires, it moves randomly, hoping that it won't move into the path of the bullet.
+
: Every time it fires, it moves a random distance.  
  
 
; How does the [[melee]] strategy differ from [[One-on-one]] strategy?
 
; How does the [[melee]] strategy differ from [[One-on-one]] strategy?
Line 50: Line 55:
  
 
; What's next for your robot?
 
; What's next for your robot?
: I have quite a few problems with getting stuck on the wall, because I didn't have quite enough code to be able to prevent it.
+
: Some bullet power management would probably be useful.
: If it's holding me back from gaining a couple places, then I might have to find a way of making it work.
 
: Also, some bullet power management would probably be useful as well.
 
  
 
; Can I use your code?
 
; Can I use your code?
 
: Of course, [[RWPCL]]. Just don't use the whole thing and claim it as your own.
 
: 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 it, I would love to hear!
+
: And if you find an innovative way of reducing the code, I would love to hear!
  
  

Revision as of 20:28, 22 June 2009

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!