Difference between revisions of "Kitten"

From Robowiki
Jump to navigation Jump to search
(Mass-edit Robocode Repository URLs)
 
(3 intermediate revisions by one other user not shown)
Line 6: Line 6:
 
| targeting      = [[Symbolic Pattern Matching]]
 
| 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    = 18th in Nano
+
| best_rating    = 1732.8 in nano
| current_version = 1.4
+
| current_version = 1.5
 
| license        = [[RWPCL]]
 
| license        = [[RWPCL]]
| download_link  = http://www.robocoderepository.com/BotFiles/3680/spinnercat.Kitten_1.4.jar
+
| download_link  = http://robocode-archive.strangeautomata.com/robots/spinnercat.Kitten_1.6.jar
 
| isOneOnOne      = true
 
| isOneOnOne      = true
 
| isOpenSource    = true
 
| isOpenSource    = true
Line 28: Line 28:
 
: It's 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 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?
 
; 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.3: http://robocode-archive.strangeautomata.com/robots/spinnercat.Kitten_1.6.jar
: Version 1.4: http://www.robocoderepository.com/BotFiles/3680/spinnercat.Kitten_1.4.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?
: Pretty good, version 1.4 is 18th 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. 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.
+
: 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]]?
Line 55: Line 58:
  
 
; What's next for your robot?
 
; What's next for your robot?
: Some bullet power management would probably be useful.
+
: <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.
  
 
; Can I use your code?
 
; Can I use your code?

Latest revision as of 03: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!