Difference between revisions of "RabidWombat"

From Robowiki
Jump to navigation Jump to search
(Updated infobox)
(RabidWombat is now live on the rumble)
Line 10: Line 10:
 
:[[GuessFactorGun|guess factor]]
 
:[[GuessFactorGun|guess factor]]
 
| movement = [[AntiGravityMovement|antigravity]]
 
| movement = [[AntiGravityMovement|antigravity]]
| license        = closed source
+
| license        = no license selected yet
 
| isOneOnOne      = true
 
| isOneOnOne      = true
 
| isMelee        = false
 
| isMelee        = false
| isOpenSource    = false
+
| isOpenSource    = true
 
}}
 
}}
 +
== News ==
 +
After not having Robocoded in quite some time, and at the prompting of a co-worker, I bit the bullet and entered RabidWombat into [[RoboRumble]]. Hopefully this will motivate me to improve it some more.
 +
 
== Background Info ==
 
== Background Info ==
 
; What's special about it?
 
; What's special about it?
: It's the robot that the [[PluggableRobot]] architecture was built to support. Hopefully one day that might be considered special.
+
: Nothing, particularly. Just another bot.
  
 
; Great, I want to try it. Where can I download it?
 
; Great, I want to try it. Where can I download it?
: You can't yet. I want to improve it some more before I release it.
+
: [http://rjw.walkertribe.com/robocode/rjw.RabidWombat_0.7.jar RabidWombat 0.7]
  
 
; How competitive is it?
 
; How competitive is it?
Line 27: Line 30:
 
== Strategy ==
 
== Strategy ==
 
; How does it [[Movement|move]]?
 
; How does it [[Movement|move]]?
: It uses a variation of [[AntiGravityMovement|antigravity movement]]. The enemy robot exerts an attractive or repulsive force on RabidWombat, depending on how far away it is, in order to maintain a particular distance from the enemy. (It's pretty much working on [http://en.wikipedia.org/wiki/Hooke%27s_Law Hooke's law].) That distance grows if RabidWombat is losing and shrinks if it's winning, so that it'll run away or close in for the kill as appropriate. Walls exert a repulsive force. Bullet dodging is done with force vectors as well.
+
: It uses a variation of [[AntiGravityMovement|antigravity movement]]. The enemy robot exerts an attractive or repulsive force on RabidWombat, depending on how far away it is, in order to maintain a particular distance from the enemy. (It's pretty much working on [http://en.wikipedia.org/wiki/Hooke%27s_Law Hooke's law].) That distance grows if RabidWombat is losing and shrinks if it's winning, so that it'll run away or close in for the kill as appropriate. Walls exert a repulsive force when RabidWombat gets close enough to them, which gets stronger the closer it is. Bullet dodging is also done with force vectors (see below).
  
 
; How does it fire?
 
; How does it fire?
: It has a virtual gun array containing (currently) a [[HeadOnTargeting|head-on targeting gun]] (apply directly to the forehead), a [[LinearTargeting|linear targeting gun]], a [[CircularTargeting|circular targeting gun]] and a [[GuessFactorGun|guess factor gun]]. (I suppose the linear targeting gun is probably redundant.) It fires [[Waves|waves]] (for guess factor targeting) and [[VirtualBullets|virtual bullets]] (for tracking the success of the various guns) every turn and fires the real bullets with the best gun. Stats decay over time so that it will adapt more readily to changes in enemy behavior. I might add a [[PatternMatching|pattern matching gun]] to the array, but if I did I'd probably have to change things around a bit. Currently, all my guns pretend to fire every turn, which from what I understand would be pretty slow for a pattern matching gun.
+
: It has a virtual gun array containing (currently) a [[HeadOnTargeting|head-on targeting gun]], a [[LinearTargeting|linear targeting gun]], a [[CircularTargeting|circular targeting gun]] and a [[GuessFactorGun|guess factor gun]]. (I suppose the linear targeting gun is probably redundant.) It fires [[Waves|waves]] (for guess factor targeting) and [[VirtualBullets|virtual bullets]] (for tracking the success of the various guns) every turn and fires the real bullets with the best gun. Stats decay over time so that it will adapt more readily to changes in enemy behavior. I might add a [[PatternMatching|pattern matching gun]] to the array.
  
 
; How does it [[DodgingBullets|dodge bullets]]?
 
; How does it [[DodgingBullets|dodge bullets]]?
: For the moment, it assumes that the opponent is using [[HeadOnTargeting|head-on targeting]] and runs away from that spot. I'm still somewhat undecided on the final bullet dodging strategy.
+
: For the moment, it assumes that the opponent is using [[HeadOnTargeting|head-on targeting]], then creates a force vector which is perpendicular to the presumed bullet's flight path so that it will run away from the bullet. I'm still somewhat undecided on the final bullet dodging strategy.
  
 
; What does it save between rounds and matches?
 
; What does it save between rounds and matches?
: Currently, it saves gun accuracy, guess factor and energy stats between rounds and nothing between matches. I'm currently working on a testing harness that will allow me to see how tweaks affect a number of performance metrics not reported by the RobocodeResults class.
+
: Currently, it saves gun accuracy, guess factor and energy stats between rounds and nothing between matches.
  
 
== Additional Info ==
 
== Additional Info ==
Line 43: Line 46:
  
 
; Can I use your code?
 
; Can I use your code?
: For now, RabidWombat is closed source. I intend to open it up eventually, after I see how well I can get it to perform, or when I get tired of it, whichever comes first.
+
: Yes, although I haven't applied a license yet, it really doesn't bother me if someone wants to adapt the code for their own purposes, as long as you credit me.
  
 
; What's next for your robot?
 
; What's next for your robot?
* Fix aiming code (not shooting where it thinks it is)
+
: Here's the to-do list:
* Finish tweaking and testing harness
+
* RabidWombat is currently not shooting where it thinks it is all the time, so I need to fix that.
 +
* Update for Java 6.
 
* Improve bullet dodging
 
* Improve bullet dodging
 
* Add a pattern matching gun
 
* Add a pattern matching gun
Line 56: Line 60:
  
 
; Does it have any [[White Whale|white whales]]?
 
; Does it have any [[White Whale|white whales]]?
: For now, I've been pitting RabidWombat against [[SpareParts]], with good results. I'm looking for another bot to pit it against.
+
: For now, I've been pitting RabidWombat against [[SpareParts]], with good results.
  
 
== Credits ==
 
== Credits ==
Line 64: Line 68:
 
[[Category:1-vs-1 Bots|RabidWombat]]
 
[[Category:1-vs-1 Bots|RabidWombat]]
 
[[Category:MegaBots|RabidWombat]]
 
[[Category:MegaBots|RabidWombat]]
[[Category:Unreleased Robots|RabidWombat]]
 
  
 
__NOTOC__  __NOEDITSECTION__
 
__NOTOC__  __NOEDITSECTION__

Revision as of 19:00, 22 June 2013

RabidWombat
RabidWombat.jpg
Author(s) RobertWalker
Extends PluggableRobot
Targeting Virtual gun array:
head-on
linear
circular
guess factor
Movement antigravity
Code License no license selected yet

News

After not having Robocoded in quite some time, and at the prompting of a co-worker, I bit the bullet and entered RabidWombat into RoboRumble. Hopefully this will motivate me to improve it some more.

Background Info

What's special about it?
Nothing, particularly. Just another bot.
Great, I want to try it. Where can I download it?
RabidWombat 0.7
How competitive is it?
It's not done yet, so it's not that competitive. It beats the SampleBots, of course. I've also been pitting it against SpareParts with good success.

Strategy

How does it move?
It uses a variation of antigravity movement. The enemy robot exerts an attractive or repulsive force on RabidWombat, depending on how far away it is, in order to maintain a particular distance from the enemy. (It's pretty much working on Hooke's law.) That distance grows if RabidWombat is losing and shrinks if it's winning, so that it'll run away or close in for the kill as appropriate. Walls exert a repulsive force when RabidWombat gets close enough to them, which gets stronger the closer it is. Bullet dodging is also done with force vectors (see below).
How does it fire?
It has a virtual gun array containing (currently) a head-on targeting gun, a linear targeting gun, a circular targeting gun and a guess factor gun. (I suppose the linear targeting gun is probably redundant.) It fires waves (for guess factor targeting) and virtual bullets (for tracking the success of the various guns) every turn and fires the real bullets with the best gun. Stats decay over time so that it will adapt more readily to changes in enemy behavior. I might add a pattern matching gun to the array.
How does it dodge bullets?
For the moment, it assumes that the opponent is using head-on targeting, then creates a force vector which is perpendicular to the presumed bullet's flight path so that it will run away from the bullet. I'm still somewhat undecided on the final bullet dodging strategy.
What does it save between rounds and matches?
Currently, it saves gun accuracy, guess factor and energy stats between rounds and nothing between matches.

Additional Info

Where did you get the name?
It sounded cool. Its initials happening to be RW didn't hurt, either.
Can I use your code?
Yes, although I haven't applied a license yet, it really doesn't bother me if someone wants to adapt the code for their own purposes, as long as you credit me.
What's next for your robot?
Here's the to-do list:
  • RabidWombat is currently not shooting where it thinks it is all the time, so I need to fix that.
  • Update for Java 6.
  • Improve bullet dodging
  • Add a pattern matching gun
  • Take wall bumping into account for virtual gun calculations
  • Weight virtual gun stats based on hit probability
  • Segment statistics
  • Tweak, tweak, tweak...
Does it have any white whales?
For now, I've been pitting RabidWombat against SpareParts, with good results.

Credits

PluggableRobot was developed in parallel to support RabidWombat, so look there for some credits. Other than that, it wasn't directly based on any other robot, although I've culled many ideas from the wiki. I'm trying to be good about giving attribution in the source, and when I get some time I'll transfer them to the wiki.