Difference between revisions of "Ocnirp"

From Robowiki
Jump to navigation Jump to search
(update 1.3)
(update 1.4)
Line 7: Line 7:
 
| movement        = [[RandomMovement|Random Movement]]
 
| movement        = [[RandomMovement|Random Movement]]
 
| best_rating    = 1744.9 (13th)
 
| best_rating    = 1744.9 (13th)
| current_version = 1.3
+
| current_version = 1.4
| codesize        = 239!!!
+
| codesize        = 227!!!
 
| license        = [[RWLPCL]]
 
| license        = [[RWLPCL]]
| download_link  = http://robowiki.kidsdev.org/robot/nat.nano.Ocnirp_1.3.jar
+
| download_link  = http://robowiki.kidsdev.org/robot/nat.nano.Ocnirp_1.4.jar
 
| isOneOnOne      = true
 
| isOneOnOne      = true
 
| isMelee        = false
 
| isMelee        = false
 
| isOpenSource    = true
 
| isOpenSource    = true
 
}}
 
}}
 
+
{{Navbox small
Please take a look at this bot's sister: [[OcnirpSNG]] : Even his sister get higher rank than him, he still beats his sister!
+
| title = Sub-pages
 +
| page1 = Version History
 +
| page2 = Source Code
 +
}}
  
 
== Background Information ==
 
== Background Information ==
Line 24: Line 27:
  
 
; How competitive is it?
 
; How competitive is it?
: Best rank: 13th rank in NanoRumble
+
<!-- : Best rank: 13th rank in NanoRumble
: Overall: Around 13th - 15th place in NanoRumble
+
: Overall: Around 13th - 15th place in NanoRumble -->
 
+
: Fairly. It was once the worst enemy of top 5 nanobots!
== Version History ==
 
; 1.3 - ?
 
* Squeeze again
 
* Add distance controller at 300
 
* Remove setXXXForXXXTurn(true);
 
* Battle for nanobot crown
 
 
 
;1.2 - not yet released
 
* Remove distance control
 
* Try to create flat movement profile, too, although it perform worse than 1.0 so I think 1.3 will be 1.0 re-release.
 
 
 
;1.1 - around 22th
 
* Added really bad distance control
 
 
 
;1.0 - around 14th
 
* Random orbiting an enemy
 
 
 
;0.2 - Lowest Rank
 
* Move toward to enemy
 
* Simonton's PM gun
 
  
 
== Strategy ==
 
== Strategy ==
Line 54: Line 37:
  
 
; How does it fire?
 
; How does it fire?
: [[PatternMatching|Pattern Matching]], although it's [[WeekendObsession]] one, it has some tweak, too.
+
: [[Pattern Matching|Pattern Matching]], although it's [[WeekendObsession]] one, it has some tweak, too.
  
 
; What does it save between rounds and matches?
 
; What does it save between rounds and matches?
: Pattern Data between round, like [[WeekendObsession]].
+
: Pattern data between round, like [[WeekendObsession]].
  
 
== Additional Information ==
 
== Additional Information ==
Line 65: Line 48:
  
 
; Does it have any White Whales?  
 
; Does it have any White Whales?  
Ergh... [[RaikoNano]], maybe...
+
: All nanobots from package mld, robar, simonton and nz =)
 +
:* [[Pugio]]
 +
:* [[Moebius]]
 +
:* [[Neophyte]]Pattern/PRAL/SRAL
 +
:* [[BlackWidow]]
 +
:* [[WeekendObsession]]
  
 
; What's the next for this robot?
 
; What's the next for this robot?
Maybe some gun improvement and better distance controller, but it is needing to unretire first.
+
: Tweak until I got crown. I have a ton of codesize left now (249 - 227 = 22 bytes!).
  
 
; What other robot(s) is it based on?
 
; What other robot(s) is it based on?
[[WeekendObsession]]
+
:
 +
:* Gun was first lift straight from [[WeekendObsession]], but being modified.
 +
:* Distance Controller is a mix of thing between NZ's (Neophyte and Moebius) and Pugio (Robar's) with a tweak to match my need.
 +
:* [[Velocity Trick]], which added in 1.4, inspire by [[Pugio]], not copying yet look almost the same but actually my one is the tweaked version of Velocity Trick commented out in [[OcnirpSNG]].
 +
:* Hard-coded BTF in PM, which saves a lot of codesize, added in 1.4; when you have distance controller, was inspire by NZ's Neophyte.
 +
:* BFT+2 thing are Moebius'; I figure out that this is useful when you control the distance closer than enemy
 +
:* No setAdjustXXXForXXXTurn(true) is Robar's, although I've this thing for really long time (since NanoKitty) because it's really Performance Enhancing Bug.
  
 
== Funny Information ==
 
== Funny Information ==

Revision as of 08:09, 24 May 2009

Ocnirp
Author(s) Nat
Extends AdvancedRobot
Targeting Pattern Matching
Movement Random Movement
Best Rating 1744.9 (13th)
Current Version 1.4
Code Size 227!!!
Code License RWLPCL
Download
Sub-pages:
Version History - Source Code

Background Information

What's special about it?
It's my first competitive robot!
How competitive is it?
Fairly. It was once the worst enemy of top 5 nanobots!

Strategy

How does it move?
It orbit an enemy (perpendicular movement) with some special direction-inverted!
How does it fire?
Pattern Matching, although it's WeekendObsession one, it has some tweak, too.
What does it save between rounds and matches?
Pattern data between round, like WeekendObsession.

Additional Information

Can I use your code?
Sure, it's RWLPCL.
Does it have any White Whales?
All nanobots from package mld, robar, simonton and nz =)
What's the next for this robot?
Tweak until I got crown. I have a ton of codesize left now (249 - 227 = 22 bytes!).
What other robot(s) is it based on?
  • Gun was first lift straight from WeekendObsession, but being modified.
  • Distance Controller is a mix of thing between NZ's (Neophyte and Moebius) and Pugio (Robar's) with a tweak to match my need.
  • Velocity Trick, which added in 1.4, inspire by Pugio, not copying yet look almost the same but actually my one is the tweaked version of Velocity Trick commented out in OcnirpSNG.
  • Hard-coded BTF in PM, which saves a lot of codesize, added in 1.4; when you have distance controller, was inspire by NZ's Neophyte.
  • BFT+2 thing are Moebius'; I figure out that this is useful when you control the distance closer than enemy
  • No setAdjustXXXForXXXTurn(true) is Robar's, although I've this thing for really long time (since NanoKitty) because it's really Performance Enhancing Bug.

Funny Information

At first I try to create movement that move directly to enemy and orbit it when it come in 100px closer. That's version 0.2 when I stick WeekendObsession gun into it and I entered it to RoboRumble. Soon, I've found out that simple head-on targeting can hit at most of the time since it move directly toward enemy! and it take the lowest rank! Now, I re-design the movement system and start orbit an enemy immediately, plus some random direction swap and change it's direction when enemy fire. Now, in my test, it can beat almost top nano-bots but still get 13th place because it's movement can't trick GF bot. And that the version 1.0. (I skipped to 1.0 because it's a really big changed.)
When I first enter RoboRumble, it has the highest APS score (when have only 10 battles). That is the time when Darkcanuck turn off bots-removing from his server so there are nat.nano.Ocnirp 1.0 at top position and nat.nano.Ocnirp 0.2 at bottom of table!