Difference between revisions of "Kitten"

From Robowiki
Jump to navigation Jump to search
(Created page with '{{Infobox Robot | name = Kitten | image = | author = spinnercat | extends = AdvancedRobot | targeting = [[Sym…')
 
(Mass-edit Robocode Repository URLs)
 
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
| author          = [[User:spinnercat|spinnercat]]
 
| author          = [[User:spinnercat|spinnercat]]
 
| extends        = [[AdvancedRobot]]
 
| extends        = [[AdvancedRobot]]
| targeting      = [[SymbolicPatternMatching]]
+
| targeting      = [[Symbolic Pattern Matching]]
 
| movement        = [[Random Movement]]
 
| movement        = [[Random Movement]]
| released        = June 17, 2009
+
| released        = V1: 6/17/09 Cur: 7/17/09
| best_rating    = 24th in Nano
+
| best_rating    = 1732.8 in nano
| current_version = 1.3
+
| current_version = 1.5
 
| license        = [[RWPCL]]
 
| license        = [[RWPCL]]
| download_link  = http://www.robocoderepository.com/BotFiles/3674/spinnercat.Kitten_1.3.jar
+
| download_link  = http://robocode-archive.strangeautomata.com/robots/spinnercat.Kitten_1.6.jar
| no_categories  =  
+
| isOneOnOne      = true
 +
| isOpenSource    = true
 
}}
 
}}
  
Line 25: 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.
 +
: I'm also trying something new with the PM gun. Normally, it has a depth, and each time it can't find a pattern, it drops the search depth by one. But, just for fun, I drop it by 2, hoping it will lead to less skipped turns. But in all my tests it seemed like it made no difference at all.
 +
 
 +
; Great, I want to try it. Where can I download it?
 +
: Version 1.3: http://robocode-archive.strangeautomata.com/robots/spinnercat.Kitten_1.6.jar
 +
: Version 1.4: http://robocode-archive.strangeautomata.com/robots/spinnercat.Kitten_1.6.jar
 +
: Version 1.5: http://robocode-archive.strangeautomata.com/robots/spinnercat.Kitten_1.6.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 was 18th in nano rumble.
 +
: Version 1.5: 13th 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 (This helps it to not get stuck on the walls, as once the direction is flipped, it has an 80% chance of moving away). 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]]?
: Uses [[SymbolicPatternMatching]] like most nanos, credits to [[Assertive]] by [[Robar]]
+
: Uses [[SymbolicPatternMatching]] like most nanos, credits to [[Assertive]] by [[User:Robar|Robar]]
  
 
; 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 49: Line 58:
  
 
; 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.
+
: <del>Some bullet power management would probably be useful.</del> Switched to 2.5 power, which helped it a bit, I doubt i'll find the code space to have real power management.
: 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!
  
  
  
 
[[Category:Bots|Kitten]]
 
[[Category:Bots|Kitten]]
[[Category:1-vs-1 Bots|Robovirus]]
+
[[Category:NanoBots|Kitten]]
[[Category:NanoBots|Robovirus]]
 

Latest revision as of 04:43, 18 August 2017

Kitten
Author(s) spinnercat
Extends AdvancedRobot
Targeting Symbolic Pattern Matching
Movement Random Movement
Released V1: 6/17/09 Cur: 7/17/09
Best Rating 1732.8 in nano
Current Version 1.5
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.
I'm also trying something new with the PM gun. Normally, it has a depth, and each time it can't find a pattern, it drops the search depth by one. But, just for fun, I drop it by 2, hoping it will lead to less skipped turns. But in all my tests it seemed like it made no difference at all.
Great, I want to try it. Where can I download it?
Version 1.3: http://robocode-archive.strangeautomata.com/robots/spinnercat.Kitten_1.6.jar
Version 1.4: http://robocode-archive.strangeautomata.com/robots/spinnercat.Kitten_1.6.jar
Version 1.5: http://robocode-archive.strangeautomata.com/robots/spinnercat.Kitten_1.6.jar
How competitive is it?
Pretty good, version 1.4 was 18th in nano rumble.
Version 1.5: 13th 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 (This helps it to not get stuck on the walls, as once the direction is flipped, it has an 80% chance of moving away). 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. Switched to 2.5 power, which helped it a bit, I doubt i'll find the code space to have real power management.
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!