Ocnirp

From Robowiki
Revision as of 15:20, 13 June 2009 by Robar (talk | contribs) (added bots category)
Jump to navigation Jump to search
Ocnirp
Author(s) Nat
Extends AdvancedRobot
Targeting Pattern Matching
Movement Random Movement
Best Rating 1744.9 (13th)
Current Version 1.5
Code Size 243
Code License RWLPCL
Download
Sub-pages:
Version History - Source Code

Background Information

What's special about it?
It's my first competitive robot! (And it gone worse and worse now =()
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 BFT 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 an 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!