Difference between revisions of "User:D414"

From Robowiki
Jump to navigation Jump to search
m
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Personal Gotchas =
+
{{Navbox small
== Event Priority ==
+
| title = Sub-pages
The documentation for event priorities is unclear. [https://robocode.sourceforge.io/docs/robocode/robocode/AdvancedRobot.html#setEventPriority-java.lang.String-int- setEventPriority] says lower values are higher priority while [https://robocode.sourceforge.io/docs/robocode/robocode/AdvancedRobot.html#getEventPriority-java.lang.String- getEventPriority] says higher values are higher priority. Testing confirms the later is correct. Also note that the priority of RoundEndedEvent is 110, not 100 as documented.
+
| page1 = Diary of a Robocoder
== Execute Method ==
+
| page2 = Personal Gotchas
The documentation for the [https://robocode.sourceforge.io/docs/robocode/robocode/AdvancedRobot.html#execute-- execute] method says that it '''must''' be called otherwise set* methods will never be performed. This doesn't seem to be strictly true as a robot that uses set methods to spin its radar, gun and body in the [https://robocode.sourceforge.io/docs/robocode/robocode/Robot.html#run-- run] method will spin even without calling [https://robocode.sourceforge.io/docs/robocode/robocode/AdvancedRobot.html#execute-- execute].
+
}}
 +
= Background =
 +
I was first introduced to robocode in around 2010 as an undergraduate. For our class competition I wrote a simple melee bot using minimum risk movement and a buggy linear targeting gun which came second overall. I've been fascinated with robocode ever since but it wasn't until 2024 that I finally entered the [[RoboRumble]] with [[Quantum]].
 +
 
 +
= My bots =
 +
; Nano
 +
[[Quantum]] - A melee specialist with a novel take on nano sized [[Anti-Gravity Movement]].
 +
 
 +
; Micro
 +
[[FireHammer]] - A melee specialist with a powerful gun but very basic movement. My attempt at squeezing [[Mirage]]'s gun into a micro bot.

Revision as of 11:31, 10 May 2024

Sub-pages:
Diary of a Robocoder - Personal Gotchas

Background

I was first introduced to robocode in around 2010 as an undergraduate. For our class competition I wrote a simple melee bot using minimum risk movement and a buggy linear targeting gun which came second overall. I've been fascinated with robocode ever since but it wasn't until 2024 that I finally entered the RoboRumble with Quantum.

My bots

Nano

Quantum - A melee specialist with a novel take on nano sized Anti-Gravity Movement.

Micro

FireHammer - A melee specialist with a powerful gun but very basic movement. My attempt at squeezing Mirage's gun into a micro bot.